Skip to content

Create a secret for a client application

POST
/api/v1/domain/{domain_id}/client_application/{client_application_id}/create_secret
domain_id
required
client_application_id
required

Success

object
secret
ClientApplicationSecret

A secret for a client application

object
created_at
Timestamp

Unix timestamp, seconds since midnight January 1, 1970 UTC

number
1234567890
secret
string
status
string
Allowed values: active inactive
active
vid
string

Error

One of:
object
code
string
Allowed values: bad_request bad_authtoken not_authenticated not_permitted not_implemented unknown not_found unexpected_ref_type unexpected invalid_action invalid_value required_value
bad_request
message
string
status
string
Allowed values: error
error