(OrganizationDomain)
- Update - Update an organization domain.
Updates the properties of an existing organization domain.
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;
var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
var res = await sdk.OrganizationDomain.UpdateAsync(
organizationId: "<id>",
domainId: "<id>",
requestBody: new UpdateOrganizationDomainRequestBody() {}
);
// handle response
Parameter | Type | Required | Description |
---|---|---|---|
OrganizationId |
string | ✔️ | The ID of the organization the domain belongs to |
DomainId |
string | ✔️ | The ID of the domain |
RequestBody |
UpdateOrganizationDomainRequestBody | ✔️ | N/A |
UpdateOrganizationDomainResponse
Error Type | Status Code | Content Type |
---|---|---|
Clerk.BackendAPI.Models.Errors.ClerkErrors | 400, 404, 422 | application/json |
Clerk.BackendAPI.Models.Errors.SDKError | 4XX, 5XX | */* |