Skip to main content
Prisma Documentation Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

Delete service token

REST API: Revokes the service token with the given ID by deleting it.

DELETE /v1/workspaces/{workspaceId}/service-tokens/{serviceTokenId}

Revokes the service token with the given ID by deleting it.

AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

workspaceId*string

Match^(wksp_)?([cC][^\s-]{8,}|[a-z0-9]+)$

serviceTokenId*string

Match^(itgr_)?([cC][^\s-]{8,}|[a-z0-9]+)$

curl -X DELETE "https://example.com/v1/workspaces/string/service-tokens/string"

Empty

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu