Home
Version 3
Apps API

Apps API

Delete a Particular App

DELETE /v2/apps/:guid

Request

Route

DELETE /v2/apps/1a99a653-ce60-46c7-86f4-6ea5b478002c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjR9.pmJg1gOzcofOyx-FsZiLtHMishIB7sCIFxOpEBRjyyc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/1a99a653-ce60-46c7-86f4-6ea5b478002c" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjR9.pmJg1gOzcofOyx-FsZiLtHMishIB7sCIFxOpEBRjyyc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: b9338746-e67c-4294-8cbb-d3958556587f
X-Content-Type-Options: nosniff

Audit Records Created By The Request

Audit Record: audit.app.delete-request

Attribute Name Value
id 209
guid 73b39fe6-bf86-45b4-8c68-d4f00a367540
created_at 2016-05-12 00:45:23 UTC
updated_at
timestamp 2016-05-12 00:45:23 UTC
type audit.app.delete-request
actor uaa-id-343
actor_type user
actee 1a99a653-ce60-46c7-86f4-6ea5b478002c
actee_type app
metadata
{
  "request": {
    "recursive": false
  }
}
space_id
organization_guid 1ab2d74d-438c-4f62-8328-0cdaecd788d3
space_guid 45a2fc85-569d-455e-9120-990d88b87c96
actor_name email-234@somedomain.com
actee_name name-2008