Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

DELETE /v2/spaces/:guid/managers/:manager_guid

Request

Route

DELETE /v2/spaces/f2df4ebf-ae3c-4712-9e0a-717119d88b29/managers/uaa-id-393

Parameters

Name Description Valid Values Example Values
guid The guid of the Space
manager_guid The guid of the manager

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NSIsImVtYWlsIjoiZW1haWwtMjcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDF9.sAygQhRKA58V1FeR9COexz3zFV1Ho95dH3XXApBaemo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/f2df4ebf-ae3c-4712-9e0a-717119d88b29/managers/uaa-id-393" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NSIsImVtYWlsIjoiZW1haWwtMjcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDF9.sAygQhRKA58V1FeR9COexz3zFV1Ho95dH3XXApBaemo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 805f4110-4bae-4669-a81c-99e950bbe0bf
X-Content-Type-Options: nosniff