Skip to main content
POST
Assign User Permission

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

User identifier (UUID).

Body

application/json
resource
string
required

The name of the specific connection instance this permission applies to. This is the connection name as defined in Connect AI, not the connector type.

operations
enum<string>[]
required

One or more operations to permit on the resource.

Available options:
create,
read,
update,
delete,
execute
type
enum<string>
required

Always connection. Classifies what category of resource the permission governs.

Available options:
connection

Response

Created

id
string<uuid>

Permission identifier.

user_id
string<uuid>

The user this permission is assigned to.

resource
string

The connection name this permission applies to.

operations
enum<string>[]

Allowed operations on the resource.

Available options:
create,
read,
update,
delete,
execute
type
enum<string>

Always connection. Classifies what category of resource the permission governs.

Available options:
connection
assigned_at
string<date-time>

ISO 8601 UTC.

assigned_by
string<uuid>

The user who assigned this permission.