Users

Soda Cloud API Users Endpoints

Get user groups

get

This endpoint enables you to gather information about the user groups in your organization's Soda Cloud account, including lists of members.

This GET is a paginated API that uses the following parameters to request specific details:

  • size: Supply an integer value between 10 and 1000, inclusive. The default value is 1000.

  • page: Supply an integer value. The default value is 0.

  • search: Optionally, use this parameter to perform a fuzzy search on the user group name.

If not specified, the query gathers information for all user groups in the account and sorts the results by user group name in ascending order.

Authentication

User authentication required: true

This endpoint enforces authentication using the API keys you provide in the Basic authentication header.

Authorization

Any Soda Cloud user in your organization may execute this query.

Tags

Users

Rate limiting

60 requests/60 seconds

Authorizations
Query parameters
pageinteger · int32Optional
searchstringOptional
sizeinteger · int32Optional
Responses
200
Successful response
application/json
get
GET /api/v1/userGroups HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
  "content": [
    {
      "name": "text",
      "userGroupId": "text",
      "users": [
        {
          "email": "text",
          "firstName": "text",
          "fullName": "text",
          "lastName": "text",
          "userId": "text"
        }
      ]
    }
  ],
  "first": true,
  "last": true,
  "number": 1,
  "size": 1,
  "totalElements": 1,
  "totalPages": 1
}

Create user group

post

This endpoint enables you to create a new user group in your organization's Soda Cloud account.

The Response of this call, when successful, is 201 and contains headers Location which is a reference to the newly created User Group.

Authorization

Only users with Manage organization settings permission can update user groups.See Manage global roles for more information.

Authentication

User authentication required: true

This endpoint enforces authentication using the API keys you provide in the Basic authentication header.

Authorization

Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.

Tags

Users

Rate limiting

60 requests/60 seconds

Authorizations
Body
namestringOptional
userIdsstring[]Optional
Responses
200
Successful response
post
POST /api/v1/userGroups HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "name": "text",
  "userIds": [
    "text"
  ]
}

No content

Get user group

get

This endpoint enables you to gather information about a single user group in your organization's Soda Cloud account, including lists of members.

This GET is a non-paginated API that returns a single organization based on its ID.

Authentication

User authentication required: true

This endpoint enforces authentication using the API keys you provide in the Basic authentication header.

Authorization

Any Soda Cloud user in your organization may execute this query.

Tags

Users

Rate limiting

60 requests/60 seconds

Authorizations
Path parameters
userGroupIdstringRequired
Responses
200
Successful response
application/json
get
GET /api/v1/userGroups/{userGroupId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
  "name": "text",
  "userGroupId": "text",
  "users": [
    {
      "email": "text",
      "firstName": "text",
      "fullName": "text",
      "lastName": "text",
      "userId": "text"
    }
  ]
}

Update user group

post

This endpoint enables you to update an existing user group in your organization's Soda Cloud account.

The Response of this call, when successful, is 200 and contains updated User Group details.

Authorization

Only users with Manage organization settings permission can update user groups.See Manage global roles for more information.

Authentication

User authentication required: true

This endpoint enforces authentication using the API keys you provide in the Basic authentication header.

Authorization

Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.

Tags

Users

Rate limiting

60 requests/60 seconds

Authorizations
Path parameters
userGroupIdstringRequired
Body
userIdsstring[]Optional
Responses
200
Successful response
application/json
post
POST /api/v1/userGroups/{userGroupId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "userIds": [
    "text"
  ]
}
{
  "name": "text",
  "userGroupId": "text",
  "users": [
    {
      "email": "text",
      "firstName": "text",
      "fullName": "text",
      "lastName": "text",
      "userId": "text"
    }
  ]
}

Delete user group

delete

This endpoint enables you to delete an existing user group from your organization's Soda Cloud account.

In case of success, the response returns a 200 (OK) response.

In case user group is not found, the response returns a 404 (Not found) response.

Authorization

Only users with Manage organization settings permission can update user groups.See Manage global roles for more information.

Authentication

User authentication required: true

This endpoint enforces authentication using the API keys you provide in the Basic authentication header.

Authorization

Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.

Tags

Users

Rate limiting

60 requests/60 seconds

Authorizations
Path parameters
userGroupIdstringRequired
Responses
200
Successful response
application/json
Responseobject
delete
DELETE /api/v1/userGroups/{userGroupId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{}

Get users

get

This endpoint enables you to gather information about the users in your organization's Soda Cloud account.

This GET is a paginated API that uses the following parameters to request specific details:

  • size: Supply an integer value between 1 and 1000, inclusive. The default value is 1000.

  • page: Supply an integer value. The default value is 0.

  • search: Optionally, use this parameter to perform a fuzzy search on the user first name, last name, or email address.

If not specified, the query gathers information for all users in the account and sorts the results by user name in ascending order.

Authentication

User authentication required: true

This endpoint enforces authentication using the API keys you provide in the Basic authentication header.

Authorization

Any Soda Cloud user in your organization may execute this query.

Tags

Users

Rate limiting

60 requests/60 seconds

Authorizations
Query parameters
pageinteger · int32Optional
searchstringOptional
sizeinteger · int32Optional
Responses
200
Successful response
application/json
get
GET /api/v1/users HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
  "content": [
    {
      "email": "text",
      "firstName": "text",
      "fullName": "text",
      "lastName": "text",
      "userId": "text"
    }
  ],
  "first": true,
  "last": true,
  "number": 1,
  "size": 1,
  "totalElements": 1,
  "totalPages": 1
}

Was this helpful?