Remove Managed Space from the User
DELETE /v2/users/:guid/managed_spaces/:managed_space_guid
Request
Route
DELETE /v2/users/uaa-id-90/managed_spaces/fbdf1e32-d1ef-4aeb-87d6-6052ebebc7dc
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
managed_space_guid
|
The guid of the managed space
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-90/managed_spaces/fbdf1e32-d1ef-4aeb-87d6-6052ebebc7dc" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkxIiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUxNDEzNjgwfQ.fJT_XP-3imokbJgJEeBwGE-9lbK6ulQrVMv0zMdalKQ" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers