Skip to main content
POST
Give a member access to a resource

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

teamID
string
required

The team's ID. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$
memberID
string
required

The membership's _id from GET /v2/teams/{teamID}/members (not the user's ID). 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
permission
object
required
resourceID
string
required

ID of the team's resource of the permission's type, for example an app's or database's _id.

Pattern: ^[0-9a-fA-F]{24}$

Response

The permission was assigned. The response body is empty.