Create token
Create a new personal access token with specified permissions and project access.
Documentation Index
Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Service user ID to create token for (admin only)
Body
A descriptive note for the token (1-100 characters)
1 - 100"Token used to generate releases"
Indicates if token can be used for all projects.
Token expiration period (week, month, three_months, year, or indefinite)
week, month, three_months, year, indefinite List of projects where token can be used. Applicable if allProjects is false.
List of permissions to grant to the token
owner, documents, releases, releases:manage, releases:deploy, releases:delete, integrations:manage, documents:full, documents:view-content, documents:edit-content, documents:edit-view, branches, branches:create, branches:merge, branches:delete, project:manage, environments, environments:manage, environments:delete Response
Created personal access token with the generated token value
Created personal access token with the generated token value
Unique identifier of the personal access token
Description or note for the token
List of permissions granted to this token
owner, documents, releases, releases:manage, releases:deploy, releases:delete, integrations:manage, documents:full, documents:view-content, documents:edit-content, documents:edit-view, branches, branches:create, branches:merge, branches:delete, project:manage, environments, environments:manage, environments:delete Whether the token has access to all projects
List of projects the token has access to
User who owns the token
Timestamp when the token was created
Timestamp when the token was last updated
The generated token value (only returned on create or regenerate)
Timestamp when the token expires, null if indefinite