GrantPermissionBody
Request body for a Permission operation.
Definition
TypeScript
interface GrantPermissionBody {
entityId: string;
tier: "viewer" | "editor" | "admin";
subjectId?: string | null | undefined;
}Fields
| Field | Type | Notes |
|---|---|---|
entityId | string | required — Prefixed ID of the target entity. |
tier | "viewer" | "editor" | "admin" | required |
subjectId | string | null | undefined | optional — Subject. Omit (or pass null) for a public grant; otherwise a prefixed user/team/organization ID. |