Revoke a service account.
Marks the service account inactive and cascade-revokes every key it owns. The principal being dead is the source of truth — subsequent use of any of its keys returns 401, even if a key row was missed by the sweep. A revoked account can be brought back with `POST /serviceAccounts/{id}:reactivate` (with a new key; these stay dead), or removed with `POST /serviceAccounts/{id}:delete`.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The unique identifier of the service account.
The tenant identifier
Response Body
curl -X DELETE "https://api.fruxon.com/v1/tenants/string/serviceAccounts/string"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Rotate a service account's credential.
Mints a fresh API key for the service account and revokes its other active keys. Zero-downtime — the new key is live before the old ones are retired. The new key's plaintext secret is returned once. A protected account additionally requires current independent policy authority for its Application and a recent Federation sign-in. A denied rotation leaves existing keys intact. A signed-in administrator only: an API token is refused with `403 token_cannot_mint`.
List all API keys
Returns all API keys for the current workspace. Key secrets are masked and only shown once at creation time.