PATCH /v1/organizations/id/users/userId/role
Endpoint
Section titled “Endpoint”PATCH /v1/organizations/{id}/users/{userId}/role
Authentication
Section titled “Authentication”No authentication required.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | - |
Request Body
Section titled “Request Body”{}cURL Example
Section titled “cURL Example”curl -X PATCH "https://api.sapiom.ai/v1/organizations/:id/users/:userId/role" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"