Returns the permission levels you may set for one member or access group on the resource, and which one they hold now.
Path Parameters
Resource type — one of the values in the table above
Identifier of the resource, as listed in the table above
members (access groups cannot hold permission levels). One of: members, access-groups.
principal_id of the member
Response
Show Permission Level Options object
Whether the caller may remove the member’s level (level none)
Levels the caller may set this member to (excluding the current one)
Why the current level cannot be lowered or removed: outranked = the member’s level is not below the caller’s; last_manager = the member is the last one who can manage the resource; no_permission = the caller cannot share this resource
The member’s level set on this instance; omitted when none is set. One of: read, write, manage.
Errors
Errors answer with success: false, a message and an error_code. See Error Codes for every code.