Skip to content

Create Client

POST
/v1/product/{product_id}/client

Create a client, requires clients:config:edit permission

Authorizations

Parameters

Path Parameters

product_id
required

Product ID

string format: uuid

Product ID

Request Body required

object
name
required

Client name

string
>= 1 characters
policy_id
required

Policy ID to use for the client

string format: uuid
description
required

Client description

string

Responses

200

Successful Response

object
client_id
required
string format: uuid
client_secret

Client secret. Note the value of the secret is returned only when the secret is first generated or the secret is rotated.

string
name
required
string
policy
required
object
policy_id
required
string format: uuid
name
required
string
permissions
required
Array<string>
description
required
string
default_policy
required
boolean
description
required
string

400

Bad Request

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string