Skip to main content
POST
/
organizations
/
{organizationName}
/
permissions
Error
A valid request URL is required to generate request examples
{
  "userGroupId": "<string>",
  "permission": "admin",
  "message": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationName
string
required

The unique identifier of the organization Standard identifier pattern for resource names

Query Parameters

requestPermission
boolean
default:false

Indicates that the user is requesting access to the resource

Body

application/json

Represents a permission assignment for a user or group within an organization

userGroupId
string

A resource identifier that uniquely identifies either a user or a group within the system. This identifier is used throughout the API for permission management and access control.

Format:

  • For users: user:{email} or user:{userId}
  • For groups: group:{groupName}
permission
enum<string>

The role/permission level granted to the user or group

Available options:
admin,
modeler,
member
message
string

Optional message or note about the permission assignment

createdAt
string<date-time>

ISO 8601 timestamp indicating when the permission was created

updatedAt
string<date-time>

ISO 8601 timestamp indicating when the permission was last modified

Response

Organization permission created successfully

Represents a permission assignment for a user or group within an organization

userGroupId
string

A resource identifier that uniquely identifies either a user or a group within the system. This identifier is used throughout the API for permission management and access control.

Format:

  • For users: user:{email} or user:{userId}
  • For groups: group:{groupName}
permission
enum<string>

The role/permission level granted to the user or group

Available options:
admin,
modeler,
member
message
string

Optional message or note about the permission assignment

createdAt
string<date-time>

ISO 8601 timestamp indicating when the permission was created

updatedAt
string<date-time>

ISO 8601 timestamp indicating when the permission was last modified