curl --request PATCH \
--url https://{defaultHost}/v1/apps/{app_id}/api_keys/{id} \
--header 'Authorization: Bearer <token>'{
"api_key": {
"id": "<string>",
"nickname": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"token": "<string>",
"revoked_at": "2023-11-07T05:31:56Z"
}
}Update the nickname for an existing API key
curl --request PATCH \
--url https://{defaultHost}/v1/apps/{app_id}/api_keys/{id} \
--header 'Authorization: Bearer <token>'{
"api_key": {
"id": "<string>",
"nickname": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"token": "<string>",
"revoked_at": "2023-11-07T05:31:56Z"
}
}Was this page helpful?