Skip to main content
POST
/
v1
/
users
/
policies
Create policy
curl --request POST \
  --url https://api.example.com/v1/users/policies \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "toManage",
  "roles": [
    "Admin"
  ],
  "isExternal": false
}
'
{
  "id": "uuid",
  "name": "toManage",
  "roles": [
    "Admin"
  ],
  "isExternal": false,
  "organizationId": "0x000000000000000000000000000000000000000000000000000048336176656e"
}

Body

application/json
name
string
required
roles
string[]
isExternal
boolean

Response

201 - application/json

ok

id
string
name
string
roles
string[]
isExternal
boolean
organizationId
string