PATCH
/org/api_keys/{id}Update an API key's name.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
API key ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/org/api_keys/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "string", "name": "string", "created_at": "2019-08-24T14:15:22Z", "created_by": { "id": "string", "email": "user@example.com", "name": "string" }, "expires_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "project_id": "string", "project_name": "string", "masked_key": "string"}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}