/// <inheritdoc /> public async Task <IUserSchema> UpdateUserProfileAsync(IUserSchema userSchema, string schemaId, CancellationToken cancellationToken = default(CancellationToken)) => await PostAsync <UserSchema>(new HttpRequest { Uri = "/api/v1/meta/schemas/user/{schemaId}", Verb = HttpVerb.Post, Payload = userSchema, PathParameters = new Dictionary <string, object>() { ["schemaId"] = schemaId, }, }, cancellationToken).ConfigureAwait(false);
/// <inheritdoc /> public async Task <IUserSchema> UpdateApplicationUserProfileAsync(IUserSchema body, string appInstanceId, CancellationToken cancellationToken = default(CancellationToken)) => await PostAsync <UserSchema>(new HttpRequest { Uri = "/api/v1/meta/schemas/apps/{appInstanceId}/default", Verb = HttpVerb.Post, Payload = body, PathParameters = new Dictionary <string, object>() { ["appInstanceId"] = appInstanceId, }, }, cancellationToken).ConfigureAwait(false);