Create a permission
Creates a permission in your WorkOS environment.
POST
Body
Arguments
stringrequired
A unique key to reference the permission. Must be lowercase and contain only letters, numbers, hyphens, underscores, colons, periods, and asterisks.
stringrequired
A descriptive name for the Permission.
string
An optional description of the Permission.
string
The slug of the resource type this permission is scoped to.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.