Admin API Keys
Update an Admin API Key label
Path Parameters
key*string
PATCH /otto/api/admin-api-key/:key Parameter
Request Body
application/json
PATCH /otto/api/admin-api-key/:key Request body
label*string
Response Body
application/json
application/json
curl -X PATCH "https://your.server.net/otto/api/admin-api-key/string" \ -H "Content-Type: application/json" \ -d '{ "label": "string" }'{
"response": {
"key": "ak_KFji7VzNDOasdfqwerqOXFLJOhW",
"label": "OttoFMS Admin API Key (updated)"
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}