Remove User from the Organization
DELETE /v2/organizations/:guid/users/:user_guid
Request
Route
DELETE /v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/users/uaa-id-114
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/52936f5b-348a-4dc6-be71-13f990714b52/users/uaa-id-114" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtNzBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5MX0.0ZC4sTSYVm29dLSixHDcV3xPacSEO-jR9c_E2Al7_qI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "52936f5b-348a-4dc6-be71-13f990714b52",
"url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52",
"created_at": "2015-07-27T22:43:11Z",
"updated_at": null
},
"entity": {
"name": "name-238",
"billing_enabled": false,
"quota_definition_guid": "18dcd24f-674c-4ffd-9f9b-4789323a2532",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/18dcd24f-674c-4ffd-9f9b-4789323a2532",
"spaces_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/spaces",
"domains_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/domains",
"private_domains_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/private_domains",
"users_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/users",
"managers_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/managers",
"billing_managers_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/billing_managers",
"auditors_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/auditors",
"app_events_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/app_events",
"space_quota_definitions_url": "/v2/organizations/52936f5b-348a-4dc6-be71-13f990714b52/space_quota_definitions"
}
}
Headers