Service Tokens
Create service token
Creates a new service token for the given workspace. The value field is returned exactly once in this response and is never stored — copy it immediately.
post/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
Request body
Response
Created a new service token. The token value is returned once in the response body.
Changes
No recorded changes to this operation across all 1 revision of this API.