Skip to main content
POST
Assign Service Account Permission

承認

Authorization
string
header
必須

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

パスパラメータ

id
string<uuid>
必須

Service account 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.

service_account_id
string<uuid>

The service account 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.