Organisation
Soda Cloud API Organisation-level Settings Endpoints
Returns persisted audit events for your organization, ordered by eventTime and then id, both ascending. Each event includes all of its audit steps.
fromandto: Required ISO8601 timestamps, normalized to UTC. Both bounds are inclusive.frommust be beforeto, with at most 31 days between them. Example:2026-08-01T00:00:00+01:00.
Filtering and ordering use the stored event timestamp at whole-second precision. Audit step timestamps retain their original precision.
cursor: Omit for the first page. Pass the previous response'snextCursor, with the same other parameters, to continue after its last item. Cursors are opaque; invalid cursors return 400.size: Number of items per page, from 1 to 1000, default 100. The size may change between pages.
The response contains content and, when more items are available, nextCursor. An absent nextCursor marks the end of the results. Page numbers and totals are not returned. Empty windows return 200 with an empty content array.
The list is read from the analytical store, so an event can take a few seconds to appear after it is recorded. Pages reflect currently persisted data; there is no snapshot across requests. For incremental collection, use fixed windows ending in the past, replay overlapping windows to collect late-persisted events, and deduplicate by id. Reading this endpoint is itself audited.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Auditable
This API is marked as audited on execution.
Tags
Organisation
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
GET /api/v1/auditLogs?from=2026-01-01T00%3A00%3A00.000Z&to=2026-01-01T00%3A00%3A00.000Z HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"auditSteps": [
{
"comment": "text",
"eventTime": "2026-01-01T00:00:00.000Z"
}
],
"comment": "text",
"email": "text",
"eventTime": "2026-01-01T00:00:00.000Z",
"id": "text",
"ipAddress": "text",
"maskedApiKey": "text"
}
],
"nextCursor": "text"
}This endpoint returns which users and user groups hold which global role in your organization's Soda Cloud account, including the assignments of the built-in Admin role.
Legacy service users are left out; their global role cannot be changed through this API.
This GET is a paginated API that uses the following parameters to request specific details:
size: Supply an integer value between 1 and 100, inclusive. The default value is 100.page: Supply an integer value. The default value is 0.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Tags
Organisation
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
GET /api/v1/organisation/responsibilities HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"managed": true,
"role": {
"admin": true,
"createAgreements": true,
"createApiKeys": true,
"createNewDatasourcesAndDatasets": true,
"description": "text",
"id": "text",
"manageAttributes": true,
"manageDataProducts": true,
"manageDataStandards": true,
"manageDatasourcesAndRunners": true,
"manageNotificationRules": true,
"manageOrganisationSettings": true,
"manageScanDefinitions": true,
"name": "text"
},
"type": "user",
"userGroupId": "text",
"userId": "text"
}
],
"first": true,
"last": true,
"number": 1,
"size": 1,
"totalElements": 1,
"totalPages": 1
}This endpoint sets which users and user groups hold which global role in your organization's Soda Cloud account.
Note: This API fully replaces the existing global responsibilities. The entire list must be provided in the request, including both new and existing entries, as any omission results in its removal. Managed assignments and the global roles of legacy service users are kept as they are.
At least one Admin assignment must remain. Only Soda Cloud Admins can grant or revoke the Admin role; for other callers the request answers 403 when it changes an Admin assignment.
When successful, the response is 201 with a Location header pointing to the global responsibilities.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Auditable
This API is marked as audited on execution.
Tags
Organisation
Rate limiting
60 requests/60 seconds
Created
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/organisation/responsibilities HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"responsibilities": [
{
"roleId": "text",
"type": "user",
"userGroupId": "text",
"userId": "text"
}
]
}No content
This endpoint returns the global roles of your organization's Soda Cloud account. Global roles grant organization-wide permissions, such as managing data sources and runners or managing organization settings.
The list includes the built-in Admin role, marked with admin: true, so that its id can be used in global responsibilities.
This GET is a paginated API that uses the following parameters to request specific details:
size: Supply an integer value between 1 and 100, inclusive. The default value is 100.page: Supply an integer value. The default value is 0.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Any Soda Cloud user in your organization may execute this query.
Tags
Organisation
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
GET /api/v1/organisation/roles HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"admin": true,
"createAgreements": true,
"createApiKeys": true,
"createNewDatasourcesAndDatasets": true,
"description": "text",
"id": "text",
"manageAttributes": true,
"manageDataProducts": true,
"manageDataStandards": true,
"manageDatasourcesAndRunners": true,
"manageNotificationRules": true,
"manageOrganisationSettings": true,
"manageScanDefinitions": true,
"name": "text"
}
],
"first": true,
"last": true,
"number": 1,
"size": 1,
"totalElements": 1,
"totalPages": 1
}This endpoint creates a custom global role in your organization's Soda Cloud account. Global roles define a named set of organization-wide permissions, such as managing data sources and runners, managing attributes or managing organization settings.
Global role names are unique within the organization, regardless of case. The name of the built-in Admin role is taken as well; dataset and datasource roles may share a name with a global role.
Once created, the role can be assigned to users or user groups through the global responsibilities endpoint.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Auditable
This API is marked as audited on execution.
Tags
Organisation
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
POST /api/v1/organisation/roles HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 326
{
"createAgreements": true,
"createApiKeys": true,
"createNewDatasourcesAndDatasets": true,
"description": "text",
"manageAttributes": true,
"manageDataProducts": true,
"manageDataStandards": true,
"manageDatasourcesAndRunners": true,
"manageNotificationRules": true,
"manageOrganisationSettings": true,
"manageScanDefinitions": true,
"name": "text"
}{
"globalRole": {
"admin": true,
"createAgreements": true,
"createApiKeys": true,
"createNewDatasourcesAndDatasets": true,
"description": "text",
"id": "text",
"manageAttributes": true,
"manageDataProducts": true,
"manageDataStandards": true,
"manageDatasourcesAndRunners": true,
"manageNotificationRules": true,
"manageOrganisationSettings": true,
"manageScanDefinitions": true,
"name": "text"
}
}This endpoint updates the name, description and permissions of a global role, including the built-in User and Service Account roles. The request replaces every permission of the role, so send the ones to keep. The description is replaced too: omitting it clears it.
The built-in Admin role cannot be updated; the endpoint answers 400 for it.
Changes apply immediately to every user and user group assigned this role.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Auditable
This API is marked as audited on execution.
Tags
Organisation
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/organisation/roles/{roleId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 326
{
"createAgreements": true,
"createApiKeys": true,
"createNewDatasourcesAndDatasets": true,
"description": "text",
"manageAttributes": true,
"manageDataProducts": true,
"manageDataStandards": true,
"manageDatasourcesAndRunners": true,
"manageNotificationRules": true,
"manageOrganisationSettings": true,
"manageScanDefinitions": true,
"name": "text"
}{
"globalRole": {
"admin": true,
"createAgreements": true,
"createApiKeys": true,
"createNewDatasourcesAndDatasets": true,
"description": "text",
"id": "text",
"manageAttributes": true,
"manageDataProducts": true,
"manageDataStandards": true,
"manageDatasourcesAndRunners": true,
"manageNotificationRules": true,
"manageOrganisationSettings": true,
"manageScanDefinitions": true,
"name": "text"
}
}This endpoint deletes a global role from your organization's Soda Cloud account.
Deletion is performed asynchronously and may take some time to complete.
Deletion fails with 400 while the role is still assigned to a user or user group, while it is used in the responsibility settings of the organization (the default dataset owner or data source owner role, or a default dataset or data source assignment), or while it is the role of new service accounts. The built-in Admin role cannot be deleted.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Auditable
This API is marked as audited on execution.
Tags
Organisation
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
DELETE /api/v1/organisation/roles/{roleId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"message": "text"
}Last updated
Was this helpful?
