API keys

Revoke an API key

DELETE/v1/workspaces/{workspaceId}/api-keys/{keyId}

Revokes an API key. The owner can revoke their own key with a viewer key. An admin can revoke any workspace key.

Authentication

Send your Spark API key with every request. The value is the full bearer token Spark returned when you created the key. See Authentication.

Authorization: Bearer <SPARK_API_KEY>

Path parameters

workspaceId

string

The workspace id.

keyId

string

The API key id.

Was this page helpful?