Skip to content

Add a label to an app.

Request

Security
x-api-key
Path
idstringrequired

Unique identifier for the app

Bodyapplication/jsonrequired

Add a label to an app.

labelstringrequired

The label to add to the app (max 50 characters)

Example:"personal-use"
POST
/v1/apps/{id}/labels
curl -i -X POST \
  '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 associated with the app.

Bodyapplication/json
labelsArray of stringsrequired

The labels associated with the app.

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