Product documentation
FgaTuples
The FgaTuples resource.
FgaTuples
The FgaTuples resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/fga/tuples | Fga Tuples List | tenant:fga.read |
POST | /api/v1/fga/tuples | Fga Tuples Write | tenant:fga.write |
Operation details
GET /api/v1/fga/tuples
Fga Tuples List
- Operation ID:
fgaTuplesList - Required scopes:
tenant:fga.read
Parameters:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
objectType | query | no | string | |
objectId | query | no | string | |
relation | query | no | string | |
subjectType | query | no | string | |
subjectId | query | no | string | |
limit | query | no | integer | |
cursor | query | no | string |
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | object |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |
POST /api/v1/fga/tuples
Fga Tuples Write
- Operation ID:
fgaTuplesWrite - Required scopes:
tenant:fga.write
Parameters:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
Idempotency-Key | header | no | string |
Request body (required): application/json → WriteTuplesRequest
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | object |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |