latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Delete API key for service account

Revoke an API key bound to a service account. Team admin only.

delete/service-accounts/{idOrName}/api-keys

Path parameters

idOrNamestring required

The ID or name of the service account.

The ID or name of the service account.

Request body

$schemastring uri

A URL to the JSON Schema for this object.

identifierstring required

The API key identifier (with or without the 'sk-' prefix).

Example request

{
  "$schema": "https://api.tower.dev/v1/schemas/DeleteServiceAccountAPIKeyParams.json"
}

Response

No Content