Skip to main content
POST
Create a new client

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Body

application/json

CreateClientRequest defines the client creation request payload

client_id
string
required

ClientID is the unique identifier for the client

Example:

"new-client"

client_secret
string
required

ClientSecret is the client's password or secret key, will be hashed and stored as password_hash

Example:

"strong-password"

roles
enum<string>[]
required
Available options:
str-uploader,
takk-uploader,
client-manager
Example:

Response

Client created successfully

client
object

Client provides confirmation of client creation

requestId
string