Skip to main content

Create service user token

Generate a service user token and return it. The token value will not be persisted and should be securely stored by client.

Path Parameters
    id string required

    The unique ID of the service user to create a token for.

Request Body required
    title string
Responses

A successful response.


Schema
    token object
    id string
    title string
    token token will only be returned once as part of the create process this value is never persisted in the system so if lost, can't be recovered
    created_at date-time

    The time when the token was created.

POST /v1beta1/serviceusers/:id/tokens

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
id — path required
Body required
{
"title": "string"
}
curl / cURL
curl -L -X POST 'http://127.0.0.1:7400/v1beta1/serviceusers/:id/tokens' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"title": "string"
}'