API Keys
Update an API key
Updates an API key's metadata (currently only the label).
patch/v1/api-keys/{label}
Path parameters
labelstring required
Current label of the API key.
Example:ci-runner
Current label of the API key.
Request body
Example request
{
"label": "ci-runner-renamed"
}Response
Updated API key metadata (never the full key)
Example response
{
"label": "ci-runner",
"keyPrefix": "monid_test_a1b2c3d4",
"createdBy": "USER#user_2abc",
"scopes": [
"runs:create",
"runs:read",
"wallet:read"
],
"revokedBy": "USER#user_2abc"
}