Service Tokens

List service tokens

Returns the service tokens for the given workspace, newest first.

get/v1/workspaces/{workspaceId}/service-tokens

Request

  • Base URL: https://api.prisma.io
  • URL: https://api.prisma.io/v1/workspaces/{workspaceId}/service-tokens
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
    • HTTP bearer

Path parameters

workspaceIdstring required

Query parameters

cursorstring nullable

Cursor for pagination

limitinteger

Page size, 1-100

Response

Returns the list of service tokens. Empty when the workspace does not exist or the caller is not a member of it.

Changes

No recorded changes to this operation across all 1 revision of this API.