Prisma Next is in early access.Read the docs
Service tokens

Delete service token

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

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

DELETE/v1/workspaces/{workspaceId}/service-tokens/{serviceTokenId}
AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

Path Parameters

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

Response Body

application/json

application/json

curl -X DELETE "https://api.prisma.io/v1/workspaces/string/service-tokens/string"
Empty