Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Headers

Content-Type
string
required

Body

application/json
metadata
object
roleIds
string[]
Pattern: ^(cradl|las):role:[0-9A-Za-z-_]{1,32}$
name
string | null
Maximum string length: 4096
generateSecret
boolean
default:true
logoutUrls
string[]
Pattern: ^http://localhost.*|^https://.*
description
string | null
Maximum string length: 4096
callbackUrls
string[]
Pattern: ^http://localhost.*|^https://.*
loginUrls
string[]
Pattern: ^http://localhost.*|^https://.*
defaultLoginUrl
string
Pattern: ^http://localhost.*|^https://.*

Response

200 response

updatedTime
string | null
required
Pattern: ^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$
hasSecret
boolean
required
metadata
object | null
required
updatedBy
string | null
required
Maximum string length: 4096
clientId
string
required
logoutUrls
string[] | null
required
Pattern: ^http://localhost.*|^https://.*
description
string | null
required
Maximum string length: 4096
callbackUrls
string[] | null
required
Pattern: ^http://localhost.*|^https://.*
loginUrls
string[] | null
required
Pattern: ^http://localhost.*|^https://.*
defaultLoginUrl
string | null
required
Pattern: ^http://localhost.*|^https://.*
createdBy
string
required
Maximum string length: 4096
name
string | null
required
Maximum string length: 4096
createdTime
string
required
Pattern: ^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$
appClientId
string
required
Pattern: ^(cradl|las):app-client:[a-z0-9-_]+$
roleIds
string[] | null
Pattern: ^(cradl|las):role:[0-9A-Za-z-_]{1,32}$
mutable
boolean
clientSecret
string