Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

Relabel a flag store

PATCH/api/admin/services/{id}/stores/{index}
Authorization
AuthorizationBearer token · headerrequired
Path parameters
idstringrequired
min length 1
indexintegerrequired
min 0 · max 9007199254740991
Request body
requiredapplication/json
labelstringrequired
max length 256
Responses
200

Success

idstringrequired
serviceIdstringrequired
indexnumberrequired
labelstringrequired
401

Unauthorized

errorstringrequired
404

Response for status 404

errorstringrequired
422

Validation failed

typestringrequired
onstringrequired
summarystring
messagestring
foundany
propertystring
expectedstring
500

Unhandled server error

errorstringrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH '/api/admin/services/string/stores/0' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "label": "string"
}'
Response
{
  "id": "string",
  "serviceId": "string",
  "index": 0,
  "label": "string"
}