Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

On this pageOverview

Delete service token

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]+)$

title="Empty"
curl -X DELETE "https://example.com/v1/workspaces/string/service-tokens/string"
Suggest an edit

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

Export
Documentation menu