Create a service token
Create a service token for machine-to-machine authentication. Accepts API key or bearer token. Optionally apply restrictions.
Request body
Example request
{
"policy": [
{
"rpcReqMatch": {
"params.name": "^(create_issue|search_issues)$"
}
}
],
"organizationId": "org_01H1234567890"
}Response
Token created successfully
Example response
{
"expiresAt": "2024-01-01T01:00:00.000Z"
}Changes
Changed in 5 of the 47 revisions of this API.45
- ○
added the new optional request property
new-optional-request-property
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the request property
request-property-removed
- ●
- ○
added the new optional request property
//new-optional-request-property
- ○
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ○
added the new optional request property
new-optional-request-property
- ○
removed the non-success response with the status
response-non-success-status-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the request property
/request-property-removed
- ○
added the new optional request property
/new-optional-request-property
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●