Add Group Members
const url = 'https://example.com/admin/groups/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"user_ids":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/admin/groups/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "user_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ] }'Add users to a sharing group (admin only).
Users already in the group are skipped. If any id matches no user, the request is 404 and nobody is added. 422 when the new members’ access to the group’s datasets would let a VRT reach past one of its sources.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Bodyrequired
Section titled “ Request Bodyrequired ”object
Users to add. Users already in the group are left as they are; if any id matches no user, none are added.
Example generated
{ "user_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]}Responses
Section titled “ Responses ”Successful Response
object
Unique group identifier.
Group name.
Number of users in the group.
When the group was created.
When the group was last renamed.
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "member_count": 1, "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z"}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “ Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request