Home
Version 3
Service Plans API

Service Plans API

Delete a Particular Service Plans

DELETE /v2/service_plans/:guid?

Request

Route

DELETE /v2/service_plans/e19f31eb-3ef0-4ced-beab-e288a53da41e?

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Plans
async Will run the delete request in a background job. Recommended: 'true'.
  • true
  • false

Body

Name Description Default Valid Values Example Values
guid The guid of the service plan
public A boolean describing that the plan is visible to the all users true

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/service_plans/e19f31eb-3ef0-4ced-beab-e288a53da41e?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNyIsImVtYWlsIjoiZW1haWwtMjE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2Mzl9.wnZdEIfqeWZnUj8UOiF00NEWW5w691dkZpjt8dj9JMQ" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 1f2ba7d8-bff8-4314-ad1d-1cd289b84566
X-Content-Type-Options: nosniff