Remove User from the Organization
DELETE /v2/organizations/:guid/users/:user_guid
Request
Route
DELETE /v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/users/uaa-id-105
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
user_guid
|
The guid of the user
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/users/uaa-id-105" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNiIsImVtYWlsIjoiZW1haWwtNTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTM2MjI5OX0.sHSPZR4kYDUWzgJMTqrmBlvGTrjCnxdNMIjm_Tc0hOE" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "8edf2c66-33cc-423f-a866-8fdd64b3ef41",
"url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41",
"created_at": "2015-10-13T17:31:39Z",
"updated_at": null
},
"entity": {
"name": "name-229",
"billing_enabled": false,
"quota_definition_guid": "d610fd15-82be-4315-875a-6b27a855874e",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/d610fd15-82be-4315-875a-6b27a855874e",
"spaces_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/spaces",
"domains_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/domains",
"private_domains_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/private_domains",
"users_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/users",
"managers_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/managers",
"billing_managers_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/billing_managers",
"auditors_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/auditors",
"app_events_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/app_events",
"space_quota_definitions_url": "/v2/organizations/8edf2c66-33cc-423f-a866-8fdd64b3ef41/space_quota_definitions"
}
}
Headers