Skip to main content
POST
Share app with groups

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

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: