Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 1 - 64
subjects
object[]
required
Minimum array length: 1
targets
object[]
required
Minimum array length: 1
workspace_id
string
description
string | null
Maximum string length: 256
effect
enum<string>
Available options:
allow,
deny
enabled
boolean
default:true

Response

id
string<uuid>
object
enum<string>
Available options:
access