Grant a skill permission
Grants reader or writer on the skill to one principal, or to every member of the skill’s team (grantee_type: team), replacing any role that principal already held. Only the skill’s owner or an organization admin of its team can grant (403 otherwise). The owner’s role is fixed at creation and cannot be granted or changed. The user_id is not checked against a directory: an id that names no member of the organization is stored as an end-user id, so a mistyped id is accepted and listed until it is removed.
Authorizations
Body
- Option 1
- Option 2
Grants a role on the resource, replacing any role the principal already holds. grantee_type defaults to user.
Response
OK
A role held on a skill by a principal, or by every member of the skill's team.