メインコンテンツへスキップ
POST
Assign User Permission

承認

Authorization
string
header
必須

OAuth 2.0 client credentials. Alternatively, you can authenticate with a personal access token (PAT) by sending Authorization: Basic base64(email:PAT).

Scopes

management:users:write

Write access to user resources.

パスパラメータ

id
string<uuid>
必須

User identifier (UUID).

ボディ

application/json
resource
string
必須

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>[]
必須

One or more operations to permit on the resource.

利用可能なオプション:
create,
read,
update,
delete,
execute
type
enum<string>
必須

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

利用可能なオプション:
connection

レスポンス

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.

利用可能なオプション:
create,
read,
update,
delete,
execute
type
enum<string>

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

利用可能なオプション:
connection
assigned_at
string<date-time>

ISO 8601 UTC.

assigned_by
string<uuid>

The user who assigned this permission.

最終更新日 2026年9月3日