Permissions
Grant a team permission to a user
Grant a team permission to a user (the team permission must be created first on the Hexclave dashboard)
post/team-permissions/{team_id}/{user_id}/{permission_id}
Request
- Base URLhttps://api.hexclave.com/api/v1
- URLhttps://api.hexclave.com/api/v1/team-permissions/{team_id}/{user_id}/{permission_id}
- Authnone declared
Path parameters
team_idstring
user_idstring
The ID of the user, or the special value me for the currently authenticated user
Example:3241a285-8329-4d69-8f3d-316e08cf140c
permission_idstring
The permission ID used to uniquely identify a permission. Can either be a custom permission with lowercase letters, numbers, :, and _ characters, or one of the system permissions: $update_team, $delete_team, $read_members, $remove_members, $invite_members, $manage_api_keys
Example:read_secret_info
Request body
object required
Example request
{}Response
Successful response
Example response
{
"id": "read_secret_info",
"user_id": "3241a285-8329-4d69-8f3d-316e08cf140c",
"team_id": "ad962777-8244-496a-b6a2-e0c6a449c79e"
}Changes
No recorded changes to this operation across all 28 revisions of this API.