workspace

Add or update a library sharing grant

Upsert a grant for a USER or TEAM. On a PROJECT resource a USER grantee must already be a project member (members-only boundary); add them as a guest first, else 400 GRANTEE_NOT_PROJECT_MEMBER.

post/workspace/libraries/{id}/grants

Request

  • Base URL: https://api.onplana.com/api
  • URL: https://api.onplana.com/api/workspace/libraries/{id}/grants
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

idstring required

Library UUID

Headers

X-Organization-Idstring required

UUID of the active organization. Sets org context for all scoped operations.

Request body

granteeType'USER' | 'TEAM' required
granteeIdstring required
accessLevel'VIEW' | 'CONTRIBUTE' | 'MANAGE' required

Response

Grant created or updated

Changes

No recorded changes to this operation across all 1 revision of this API.