Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 3.31 KB

File metadata and controls

49 lines (33 loc) · 3.31 KB

OrganizationDomain

(OrganizationDomain)

Overview

Available Operations

  • Update - Update an organization domain.

Update

Updates the properties of an existing organization domain.

Example Usage

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

Parameters

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

Response

UpdateOrganizationDomainResponse

Errors

Error Type Status Code Content Type
Clerk.BackendAPI.Models.Errors.ClerkErrors 400, 404, 422 application/json
Clerk.BackendAPI.Models.Errors.SDKError 4XX, 5XX */*