Skip to main content
POST
Share app with groups

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app.

Body

application/json
group_ids
string[]
required

IDs of the workspace groups to share the app with, 1 to 50. A repeated ID counts once.

Required array length: 1 - 50 elements
Example:
role
string | null

App role every member of these groups gets, one of the roles defined on the app's User entity. Leave it out, or send null, to assign no role, so members get the default user role.

Example:

"user"

Response

One result per group.

results
CreateShareResult · object[]
required

One result per group, in the order you sent them.

Example: