POST https://api.examplary.ai/permissions/{resource}
Path parameters
The ID of the resource to assign the permission on, e.g. `exam_1234`.
Request body
Option 1: object
The ID of the actor to assign the permission to, e.g. `user_1234`, `group_1234` or `org_1234`.
Allowed values:ownermanagereditorviewerparticipant
Option 2: object
The email of the user to add or invite.
Allowed values:ownermanagereditorviewerparticipant
Whether to send an invitation email if the user does not exist. Defaults to false.
Responses
201 — The created or updated permission.
Allowed values:ownermanagereditorviewerparticipant
Present when the actor inherits access because the resource lives in a shared folder.
403 — No access to manage this resource.
Requirements
OAuth scopes
This endpoint requires the permissions:write scope to be present.