Skip to content

Delete a label from an app.

Request

Security
x-api-key
Path
idstringrequired

Unique identifier for the app

Bodyapplication/jsonrequired

Delete a label from an app.

labelstringrequired

The label to delete from the app.

Example:"personal-use"
DELETE
/v1/apps/{id}/labels
curl -i -X DELETE \
  'https://api.pushsecurity.com/v1/apps/{id}/labels' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "label": "personal-use"
  }'

Responses

OK. Returns all labels still associated with the app after the label is deleted.

Bodyapplication/json
labelsArray of stringsrequired

The labels associated with the app.

Example:
[ "other-label" ]
Response
{ "labels": [ "other-label" ] }