Remove Organization from the User
DELETE /v2/users/:guid/organizations/:organization_guid
Request
Route
DELETE /v2/users/uaa-id-303/organizations/aaac52d1-e99d-4536-a981-379980a3cb23
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
organization_guid
|
The guid of the organization
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-303/organizations/aaac52d1-e99d-4536-a981-379980a3cb23" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNCIsImVtYWlsIjoiZW1haWwtMjA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTZ9.-sWXN8IoxF2oLd7oLAiIpOIoIO1f-pRNr8HNlVt-YV8" \
-H "Host: example.org" \
-H "Content-Type: application/json" \
-H "Cookie: "
Response
Status
204 No Content
Headers