Remove Organization from the User
DELETE /v2/users/:guid/organizations/:organization_guid
Request
Route
DELETE /v2/users/uaa-id-219/organizations/2408923f-4df9-47f0-8c82-7e9c053dace9
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-219/organizations/2408923f-4df9-47f0-8c82-7e9c053dace9" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMCIsImVtYWlsIjoiZW1haWwtMTgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MjJ9.8_8WmtcEZbvmps9X2VAgu62TYKDtN6yUhwE3Te-tF2k" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers