Skip to navigation

Add grants to a connection path

View as Markdown

Add a grant to a specific connection path to grant permissions for users or teams.

Usage notes

  • Retrieve the connectionPathId by calling the /v2/connection/{connectionId}/lookup endpoint and using the inodeId included in the response, or by calling the /v2/connections/paths endpoint and using the urlId included in the response.

  • Specify the team or user IDs to grant permissions:

    • Retrieve the memberId by calling the /v2/members endpoint.
    • Retrieve the teamId by calling the /v2/teams endpoint.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

connectionPathIdstringRequired

Request

The request body.
grantslist of objectsRequired

Response

The response body.