List My Groups
GET
/groups/mine/
const url = 'https://example.com/groups/mine/?skip=0&limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/groups/mine/?skip=0&limit=50' \ --header 'Authorization: Bearer <token>'List the sharing groups the caller may share with, by name.
That is the groups the caller belongs to, or every group for an admin.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ” skip
Skip
integer
limit
Limit
integer
Responses
Section titled “ Responses ”Successful Response
Media type application/json
GroupRefListResponse
object
groups
required
Groups
Page of groups, by name.
Array<object>
GroupRef object
id
required
Id
Unique group identifier.
string format: uuid
name
required
Name
Group name.
string
total
required
Total
Total number of groups (across all pages).
integer
Example generated
{ "groups": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example" } ], "total": 1}Bad request — invalid query parameters or payload
Media type application/problem+json
Unauthorized — missing or invalid credentials
Media type application/problem+json
Forbidden — caller lacks access to this resource
Media type application/problem+json
Not found
Media type application/problem+json
Validation error
Media type application/problem+json
Too many requests — retry after the advertised interval
Media type application/problem+json
Headers
Section titled “ Headers ” Retry-After
integer
Seconds until the request may be retried
Internal server error
Media type application/problem+json
Service unavailable — the database could not serve the request
Media type application/problem+json