API keys
Delete API key
Revoke an API key with the Go SDK.
DELETE
Delete API key
Use Returns
client.ApiKeys.Delete to revoke an API key by ID.
1
Call the method
client.ApiKeys.Delete
2
Confirm the outcome
On success, Core returns
204 No Content. Check resp.StatusCode. The key can no longer authenticate requests.3
Response
204 No Content
204 No Content on success with an empty body. Delete returns (*http.Response, error) only — there is no decoded response struct.Related docs
How API keys work
Scopes, the master key, and the auth model.
Revoke API key
HTTP request and response schema.