API Documentation
|
where {orgGroupId}
is the ID of an organisation.
GET
- retrieves a summary of information about the numbers of Cocoon Data users assigned to each role (where one user may possess more than one role) within an organisation (specified by orgGroupId
).Note: This method takes no parameters.
This API endpoint retrieves a summary of information about the numbers of Cocoon Data users assigned to each role (where one user may possess more than one role) within an organisation (specified by orgGroupId
).
Note: Users with the Ad hoc role are excluded from the statistics returned by this API endpoint.
This API endpoint supports the following Cocoon Data user roles (as described in the Organisation Administrator's Guide):
{orgGroupId}
in the request's URL.The Cocoon Data Platform's resources available to one of these Cocoon Data users (above) is determined by the access token submitted in the header of requests to this endpoint.
The appropriate access token as the Bearer
token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...
If the request succeeded, then an HTTP response status 200 OK
is returned.
For successful requests only, a JSON-formatted response containing the following members is also returned:
{orgGroupId}
in the request's URL) that has the Originator role.