Skip to main content

Create service user secret

Generate a service user secret and return it. The secret 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 key for.

Request Body required
    title string
Responses

A successful response.


Schema
    secret object
    id string
    title string
    secret secret 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
    createdAt date-time

    The time when the secret was created.

POST /v1beta1/serviceusers/:id/secrets

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/secrets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"title": "string"
}'