Remove User from the Organization
DELETE /v2/organizations/:guid/users/:user_guid
Request
Route
DELETE /v2/organizations/6464ade7-3bb4-4eb8-8b35-33b3438b4b15/users/uaa-id-243
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
user_guid
|
The guid of the user
|
|
|
recursive
|
Will delete all space and organization roles associated with the user
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/6464ade7-3bb4-4eb8-8b35-33b3438b4b15/users/uaa-id-243" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NCIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTV9.7splcXHRH75t_qT5J8Tox4Q9nZ3dS15gFhRemraz2So" \
-H "Host: example.org" \
-H "Content-Type: application/json" \
-H "Cookie: "
Response
Status
204 No Content
Headers