Revoke an endpoint key
DELETE
Stops the key working. Callers holding it are refused within half a minute. Revoking a key that is already revoked is a 404.
Requires an API key with the workspace:write scope.
apiKeyheader
AuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
endpoint*stringThe endpoint id: the first segment of its run.vlayers.ai URL.
key*stringThe key id from GET /v1/agents/{id}/endpoints.
The revoked key
application/json- response
id*stringFormat
uuidkind*stringValue in
"api""hook""mcp"name*stringpreview*stringcreatedAt*stringFormat
date-timeexpiresAt*|Format
date-timelastUsedAt*|Format
date-timerevokedAt*|Format
date-timecurl -X DELETE "https://api.vlayers.ai/v1/endpoints/$ENDPOINT_ID/keys/$KEY_ID" \ -H "Authorization: Bearer $VOICELAYER_API_KEY"Example Response
{ "id": "0192f5c1-5e6f-7a8b-9c0d-1e2f3a4b5c67", "kind": "api", "name": "Partner integration", "preview": "vle_AbCd…wXyZ", "createdAt": "2026-10-20T15:04:05.000Z", "expiresAt": null, "lastUsedAt": null, "revokedAt": "2026-10-20T15:04:05.000Z"}