Skip to content

Revoke an agent token

DELETE
/api/v4/projects/{id}/cluster_agents/{agent_id}/tokens/{token_id}

Revokes an agent token. You must have the Maintainer or Owner role to use this endpoint.

id
required
One of:
string

The ID or URL-encoded path of the project

agent_id
required
integer

The ID of an agent

token_id
required
integer

The ID of the agent token

Resource deleted

Bad Request

Not Found