Update a claim
Applies a partial update to the specified claim. Only fields included in the request are updated.
This operation applies only to custom claims. Built-in claims cannot be modified in order to preserve OpenID Connect compliance.
API-KeyX-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
The unique identifier of the claim.
Request Body
application/json
The request payload used to update a claim.
TypeScript Definitions
Use the request body type in TypeScript.
Patch Claim Request: Used to update one or more properties of an existing claim.
Response Body
application/json
The claim was updated successfully
TypeScript Definitions
Use the response body type in TypeScript.
Claim Response: Represents a claim that may be included in identity tokens, access tokens, or UserInfo responses.
Errors
curl -X PATCH "https://your-domain.us.monocloud.com/api/resources/claim_resources/tQi5Nu2sg7TVB727UfHPT" \ -H "X-API-KEY: <token>" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "display_name": null, "description": null, "show_in_discovery_document": true, "creation_time": 0, "last_updated": 0, "name": "string", "source": "string", "is_default": true}