Remove User from the Organization
DELETE /v2/organizations/:guid/users/:user_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Request
Headers
Route
DELETE /v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/users/uaa-id-67
cURL
curl "https://api.[your-domain.com]/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/users/uaa-id-67" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY4IiwiZW1haWwiOiJlbWFpbC01MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.r03CpR9SvzhEzll_7U6vwUv05kcESd4MQaSWdzvoh2U" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "741aa859-7321-4c2f-97bd-caa89ee177eb",
"url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb",
"created_at": "2015-02-10T01:42:44Z",
"updated_at": null
},
"entity": {
"name": "name-120",
"billing_enabled": false,
"quota_definition_guid": "5e4b9f4b-8b28-4b3f-a6ea-d64b448c2382",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/5e4b9f4b-8b28-4b3f-a6ea-d64b448c2382",
"spaces_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/spaces",
"domains_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/domains",
"private_domains_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/private_domains",
"users_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/users",
"managers_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/managers",
"billing_managers_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/billing_managers",
"auditors_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/auditors",
"app_events_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/app_events",
"space_quota_definitions_url": "/v2/organizations/741aa859-7321-4c2f-97bd-caa89ee177eb/space_quota_definitions"
}
}