Update group share
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Changes the app role a group share gives the group's members.
Send the whole new value. Leaving role out, or sending null, stops assigning a role, so members get the default user role. Lowering a group's role doesn't lower a member who has a higher role directly or through another shared group. Members' access usually updates right away, and always by their next sign-in. Sending the role the share already has changes nothing.
You need editor access to the app, and an editor or admin role in the app's workspace. Your workspace's plan must include workspace groups.
<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>
Path parameters
ID of the app.
ID of the app.
ID of the share, as id in the response of List group shares.
ID of the share, as id in the response of List group shares.
Request body
Example request
{
"role": "admin"
}Response
The share with its new role.
Example response
{
"id": "68d1c2e4a9b7f3001e5c8a41",
"role": "admin"
}Changes
Changed in 1 of the 14 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○