Home
Version 3
Apps API

Apps API

Delete a Particular App

DELETE /v2/apps/:guid

Request

Route

DELETE /v2/apps/037dcfbd-c422-47c8-9af0-ae40501b64ed

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2MCIsImVtYWlsIjoiZW1haWwtMzMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTd9.nz4LyQbcsu-lpCG6kbmMd7dpO8WBP7CY-8aOIoLk068
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/037dcfbd-c422-47c8-9af0-ae40501b64ed" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2MCIsImVtYWlsIjoiZW1haWwtMzMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTd9.nz4LyQbcsu-lpCG6kbmMd7dpO8WBP7CY-8aOIoLk068" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 
X-Content-Type-Options: nosniff

Audit Records Created By The Request

Audit Record: audit.app.delete-request

Attribute Name Value
id 11
guid 3ce64d32-0cdf-4e97-836a-d7cfeaa33fc9
created_at 2016-01-13 17:29:57 UTC
updated_at
timestamp 2016-01-13 17:29:57 UTC
type audit.app.delete-request
actor uaa-id-460
actor_type user
actee 037dcfbd-c422-47c8-9af0-ae40501b64ed
actee_type app
metadata
{
  "request": {
    "recursive": false
  }
}
space_id
organization_guid 7107619c-24e1-4437-84d1-2d5cba4e77c7
space_guid 94a47c71-ed1f-4bb3-91a5-90a934837f7c
actor_name email-331@somedomain.com
actee_name name-2517