ZendeskApi_v2.Requests.Users.SetUserIdentityAsPrimaryAsync C# (CSharp) Method

SetUserIdentityAsPrimaryAsync() public method

public SetUserIdentityAsPrimaryAsync ( long userId, long identityId ) : Task
userId long
identityId long
return Task
        public async Task<GroupUserIdentityResponse> SetUserIdentityAsPrimaryAsync(long userId, long identityId)
        {
            return await GenericPutAsync<GroupUserIdentityResponse>(string.Format("users/{0}/identities/{1}/make_primary.json", userId, identityId));
        }