Apps API

Delete a Particular App

DELETE /v2/apps/:guid

Request

Route

DELETE /v2/apps/7265622a-f087-4ec8-954b-3ec5a6658483

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0NCIsImVtYWlsIjoiZW1haWwtMzA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDV9.FBTJnLJyOZkW94E_Kk-ygjd-eLHQbqwu2JFgJWfnKWo
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/7265622a-f087-4ec8-954b-3ec5a6658483" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0NCIsImVtYWlsIjoiZW1haWwtMzA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDV9.FBTJnLJyOZkW94E_Kk-ygjd-eLHQbqwu2JFgJWfnKWo" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: f78f98f5-7484-41b9-854e-a5a1b9151623
X-Content-Type-Options: nosniff

Audit Records Created By The Request

Audit Record: audit.app.delete-request

Attribute Name Value
id 34
guid f27b4b1b-08b0-45db-8d37-69003e35a71f
created_at 2016-06-08 16:41:45 UTC
updated_at
timestamp 2016-06-08 16:41:45 UTC
type audit.app.delete-request
actor uaa-id-444
actor_type user
actee 7265622a-f087-4ec8-954b-3ec5a6658483
actee_type app
metadata
{
  "request": {
    "recursive": false
  }
}
space_id
organization_guid 8e60fc6a-3519-4362-8a29-5bb235241102
space_guid 3c7ba0a0-8ce0-4a0c-9ab8-ae2e5b11de05
actor_name [email protected]
actee_name name-2449