Skip to main content
POST
/
api
/
auth
/
clients
Create client
curl --request POST \
  --url http://localhost/api/auth/clients \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "public": true,
  "redirectUris": [
    "<string>"
  ],
  "description": "<string>",
  "trusted": true,
  "postLogoutRedirectUris": [
    "<string>"
  ],
  "metadata": {},
  "scopes": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string
required
public
boolean
redirectUris
string[]
description
string
trusted
boolean
postLogoutRedirectUris
string[]
metadata
object
scopes
string[]

Response

201 - application/json

Client created

data
object