Remove User from the Organization
DELETE /v2/organizations/:guid/users/:user_guid
Request
Route
DELETE /v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/users/uaa-id-31
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/users/uaa-id-31" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0zMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQyfQ.Toz7Odwsb5m7VoLw4Tft7r5XtcyBTt06np3fYv25oL0" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "11f18f7f-3e22-4914-a437-735ba51724a4",
"url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4",
"created_at": "2015-03-20T18:27:22Z",
"updated_at": null
},
"entity": {
"name": "name-141",
"billing_enabled": false,
"quota_definition_guid": "ac6180c5-46db-46c6-98ae-72cbe79f1008",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/ac6180c5-46db-46c6-98ae-72cbe79f1008",
"spaces_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/spaces",
"domains_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/domains",
"private_domains_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/private_domains",
"users_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/users",
"managers_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/managers",
"billing_managers_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/billing_managers",
"auditors_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/auditors",
"app_events_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/app_events",
"space_quota_definitions_url": "/v2/organizations/11f18f7f-3e22-4914-a437-735ba51724a4/space_quota_definitions"
}
}
Headers