CLI Tokens
Update a CLI token
Enable, disable, or rename a CLI token.
Authorization
bearerAuth AuthorizationBearer <token>
CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.
In: header
Path Parameters
id*string
CLI token ID
Format
uuidRequest Body
application/json
enabled?boolean
name?string
Response Body
application/json
application/json
application/json
curl -X PATCH "https://demo.supercheck.dev/api/cli-tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"token": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"enabled": true
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}