latestOpenAPI 3.0.12026-08-212698149.9 KB
2b049ae2733f
keys
Updates a key
patch/apps/{app_id}/keys/{key_id}
Path parameters
app_idstring required
key_idstring required
Request body
Example request
{
"name": "string",
"revocableTokens": true,
"capability": {
"channel1": [
"publish",
"subscribe"
],
"channel2": [
"history"
]
}
}Response
Key updated
Example response
{
"appId": "string",
"id": "string",
"name": "string",
"key": "string",
"created": 0,
"modified": 0,
"revocableTokens": true,
"capability": {
"channel1": [
"publish",
"subscribe"
],
"channel2": [
"history"
]
}
}