VoiceGateway

Revoke one of the project's API keys

DELETE
/api/v1/org/{orgId}/project/{projectId}/keys/{keyId}

Authorization

consoleSession
cookievg_session<token>

The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.

Path Parameters

orgId*string

Authorised orgId; the server must verify organisation/project ownership before any read.

Length1 <= length
projectId*string

Authorised projectId; the server must verify organisation/project ownership before any read.

Length1 <= length
keyId*string

A project key's id, the 12 characters after vgk_; one from another project is not_found, and any other value is invalid_request.

Match^[a-z2-7]{12}$

Response Body

Revoked.

Example Request
curl -X DELETE 'https://example.com/api/v1/org/string/project/string/keys/string'
Example Response
Empty

Was this page helpful?