Personal access token
Create token
Create a new personal access token with specified permissions and project access.
post/api/users/service/{userId}/personal-access-tokens
Request
- The document declares no server URL.
- AuthHTTP internal
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring uuid nullable required
Service user ID to create token for (admin only)
Request body
Example request
{
"note": "Token used to generate releases"
}Response
Created personal access token with the generated token value
Changes
No recorded changes to this operation across all 1 revision of this API.