Numspot Public API (1.0.0)
Download OpenAPI specification:Download
Numspot Public API - /!\ WIP
List clusters
List all OpenShift clusters
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "cidr": "string",
- "description": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "nodePools": [
- {
- "gpu": "P6",
- "name": "string",
- "nodeCount": 3,
- "nodeProfile": "SMALL",
- "tina": "string"
}
], - "urls": {
- "api": "string",
- "console": "string"
}, - "version": "string"
}
], - "totalSize": 0
}
Create a cluster
Create an OpenShift cluster
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
Request Body schema: application/jsonrequired
cidr required | string IP addresses in CIDR notation |
description | string |
name required | string^[a-zA-Z0-9-]{3,64}$ |
required | Array of objects (OpenShift Node Pool) |
version required | string |
Responses
Request samples
- Payload
{- "cidr": "10.0.0.0/16",
- "description": "string",
- "name": "string",
- "nodePools": [
- {
- "gpu": "P6",
- "name": "string",
- "nodeCount": 3,
- "nodeProfile": "SMALL",
- "tina": "string"
}
], - "version": "string"
}
Response samples
- 201
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "operation": {
- "createTime": "2019-08-24T14:15:22Z",
- "data": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "error": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "progress": "string",
- "result": "string",
- "selfLink": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "targetLink": "string",
- "type": "string"
}
}
Delete a cluster
Delete an cluster
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
clusterId required | string |
Responses
Response samples
- 202
- 400
- 404
- 500
{- "name": "string",
- "operation": {
- "createTime": "2019-08-24T14:15:22Z",
- "data": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "error": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "progress": "string",
- "result": "string",
- "selfLink": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "targetLink": "string",
- "type": "string"
}
}
Retrieve a cluster by id
Retrieve a cluster's information by ID
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
clusterId required | string |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "cidr": "string",
- "description": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "nodePools": [
- {
- "gpu": "P6",
- "name": "string",
- "nodeCount": 3,
- "nodeProfile": "SMALL",
- "tina": "string"
}
], - "urls": {
- "api": "string",
- "console": "string"
}, - "version": "string"
}
Update a cluster
Update an OpenShift cluster
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
clusterId required | string |
Request Body schema: application/jsonrequired
description | string |
name | string |
Responses
Request samples
- Payload
{- "description": "string",
- "name": "string"
}
Response samples
- 200
- 400
- 404
- 500
{- "cidr": "string",
- "description": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "nodePools": [
- {
- "gpu": "P6",
- "name": "string",
- "nodeCount": 3,
- "nodeProfile": "SMALL",
- "tina": "string"
}
], - "urls": {
- "api": "string",
- "console": "string"
}, - "version": "string"
}
Retrieve cluster's node pools
List node pools of a cluster
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
clusterId required | string |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "gpu": "P6",
- "name": "string",
- "nodeCount": 3,
- "nodeProfile": "SMALL",
- "tina": "string"
}
], - "totalSize": 0
}
Create a node pool
Create node pool
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
clusterId required | string |
Request Body schema: application/jsonrequired
name required | string |
nodeCount required | integer |
nodeProfile required | string (NodeProfile) Enum: "SMALL" "MEDIUM" "LARGE" "VERY_LARGE" Node profiles |
Responses
Request samples
- Payload
{- "name": "string",
- "nodeCount": 0,
- "nodeProfile": "SMALL"
}
Response samples
- 201
- 400
- 500
{- "clusterId": "string",
- "nodePoolName": "string",
- "operation": {
- "createTime": "2019-08-24T14:15:22Z",
- "data": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "error": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "progress": "string",
- "result": "string",
- "selfLink": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "targetLink": "string",
- "type": "string"
}
}
Delete a node pool
Delete a node pool
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
clusterId required | string |
nodePoolName required | string |
Responses
Response samples
- 202
- 400
- 404
- 500
{- "name": "string",
- "operation": {
- "createTime": "2019-08-24T14:15:22Z",
- "data": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "error": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "progress": "string",
- "result": "string",
- "selfLink": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "targetLink": "string",
- "type": "string"
}
}
Update a node count for a node pool
Update a nodepool's workers
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
clusterId required | string |
nodePoolName required | string |
Request Body schema: application/jsonrequired
count required | integer |
Responses
Request samples
- Payload
{- "count": 0
}
Response samples
- 202
- 400
- 404
- 500
{- "clusterId": "string",
- "nodePoolName": "string",
- "operation": {
- "createTime": "2019-08-24T14:15:22Z",
- "data": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "error": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "progress": "string",
- "result": "string",
- "selfLink": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "targetLink": "string",
- "type": "string"
}
}
List operations
List all operations
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
query Parameters
status | Array of strings (OperationStatus) Items Enum: "PENDING" "RUNNING" "DONE" "FAILED" |
clusterId | string |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "createTime": "2019-08-24T14:15:22Z",
- "data": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "error": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "progress": "string",
- "result": "string",
- "selfLink": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "targetLink": "string",
- "type": "string"
}
], - "totalSize": 0
}
Get an operation by id
Method to get an operation
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
id required | string <uuid> |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "createTime": "2019-08-24T14:15:22Z",
- "data": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "error": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "progress": "string",
- "result": "string",
- "selfLink": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "targetLink": "string",
- "type": "string"
}
ListRolesOrganisation
List roles
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
query Parameters
name | string <string> Role name |
object Paginated request |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
]
}
CreateRoleOrganisation
Create role
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
Request Body schema: application/jsonrequired
Role
description required | string Human-readable description |
name required | string Human-readable name |
Responses
Request samples
- Payload
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
DeleteRoleOrganisation
Delete role
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
roleUuid required | string <uuid> Role ID |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetRoleOrganisation
Get role
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
roleUuid required | string <uuid> Role ID |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
UpdateRoleOrganisation
Update role
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
roleUuid required | string <uuid> Role ID |
Request Body schema: application/jsonrequired
patch role
description | string Human-readable description |
name | string Human-readable name |
Responses
Request samples
- Payload
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin"
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
RemoveRolePermissionsOrganisation
Remove permissions from a role
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
roleUuid required | string <uuid> Role ID |
Request Body schema: application/jsonrequired
remove role permission request
permissions required | Array of strings <uuid> [ 1 .. 100 ] items [ items <uuid > ] List of permissions UUIDs |
Responses
Request samples
- Payload
{- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetRolePermissionsOrganisation
Get a role's permissions
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
roleUuid required | string <uuid> Role ID |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "action": "delete",
- "description": "string",
- "name": "string",
- "resource": "storage",
- "service": "resourcemanager",
- "subResource": "buckets",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
]
}
AddRolePermissionsOrganisation
Add permissions to a role
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
roleUuid required | string <uuid> Role ID |
Request Body schema: application/jsonrequired
add role permission request
permissions required | Array of strings <uuid> [ 1 .. 100 ] items [ items <uuid > ] List of permissions UUIDs |
Responses
Request samples
- Payload
{- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
ListRolesSpace
List roles
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
query Parameters
name | string <string> Role name |
object Paginated request |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
]
}
CreateRoleSpace
Create role
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
Request Body schema: application/jsonrequired
Role
description required | string Human-readable description |
name required | string Human-readable name |
Responses
Request samples
- Payload
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
DeleteRoleSpace
Delete role
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
roleUuid required | string <uuid> Role ID |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetRoleSpace
Get role
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
roleUuid required | string <uuid> Role ID |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
UpdateRoleSpace
Update role
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
roleUuid required | string <uuid> Role ID |
Request Body schema: application/jsonrequired
patch role
description | string Human-readable description |
name | string Human-readable name |
Responses
Request samples
- Payload
{- "description": "Manage the resourcemanager.storage domain",
- "name": "Storage Object Admin"
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
RemoveRolePermissionsSpace
Remove permissions from a role
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
roleUuid required | string <uuid> Role ID |
Request Body schema: application/jsonrequired
remove role permission request
permissions required | Array of strings <uuid> [ 1 .. 100 ] items [ items <uuid > ] List of permissions UUIDs |
Responses
Request samples
- Payload
{- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetRolePermissionsSpace
Get a role's permissions
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
roleUuid required | string <uuid> Role ID |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "action": "delete",
- "description": "string",
- "name": "string",
- "resource": "storage",
- "service": "resourcemanager",
- "subResource": "buckets",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
]
}
AddRolePermissionsSpace
Add permissions to a role
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
roleUuid required | string <uuid> Role ID |
Request Body schema: application/jsonrequired
add role permission request
permissions required | Array of strings <uuid> [ 1 .. 100 ] items [ items <uuid > ] List of permissions UUIDs |
Responses
Request samples
- Payload
{- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
ListPermissionsOrganisation
List permissions
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
query Parameters
service | string Example: service=storageblock service the permission is related to |
resource | string Example: resource=bucket resource the permission is related to |
subresource | string Example: subresource=object subresource the permission is related to |
action | string Example: action=get action the permission allows to perform |
object Paginated request |
Responses
Response samples
- 200
- 401
- 403
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "action": "delete",
- "description": "string",
- "name": "string",
- "resource": "storage",
- "service": "resourcemanager",
- "subResource": "buckets",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
]
}
GetPermissionOrganisation
Get permission
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
permissionUuid required | string <uuid> Permission ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "action": "delete",
- "description": "string",
- "name": "string",
- "resource": "storage",
- "service": "resourcemanager",
- "subResource": "buckets",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
ListPermissionsSpace
List permissions
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
query Parameters
service | string Example: service=storageblock service the permission is related to |
resource | string Example: resource=bucket resource the permission is related to |
subresource | string Example: subresource=object subresource the permission is related to |
action | string Example: action=get action the permission allows to perform |
object Paginated request |
Responses
Response samples
- 200
- 401
- 403
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "action": "delete",
- "description": "string",
- "name": "string",
- "resource": "storage",
- "service": "resourcemanager",
- "subResource": "buckets",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
]
}
GetPermissionSpace
Get permission
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
permissionUuid required | string <uuid> Permission ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "action": "delete",
- "description": "string",
- "name": "string",
- "resource": "storage",
- "service": "resourcemanager",
- "subResource": "buckets",
- "createdOn": "2019-08-24T14:15:22Z",
- "updatedOn": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
GetIAMGranularPolicyOrganisation Deprecated
Retrieve the granular policy assigned to a specific subject for a specific object type.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
objectType required | string Object Type |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "action": "string",
- "objectId": "string"
}
]
}
SetIAMGranularPolicyOrganisation Deprecated
Modify the IAM policy by adding or removing granular permissions for a specific object type. If the policy does not exist, it will be implicitly created
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
objectType required | string Object Type |
Request Body schema: application/jsonrequired
Contains details of roles and permissions to be added or deleted from the IAM policy
Array of objects (GranularPolicyList) | |
Array of objects (GranularPolicyList) |
Responses
Request samples
- Payload
{- "add": [
- {
- "action": "string",
- "objectId": "string"
}
], - "delete": [
- {
- "action": "string",
- "objectId": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
GetIAMPolicyOrganisation
Retrieve the policy assigned to a specific subject
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "roles": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
SetIAMPolicyOrganisation
Modify the IAM policy by adding or removing roles and permissions. If the policy does not exist, it will be implicitly created
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
Request Body schema: application/jsonrequired
Contains details of roles and permissions to be added or deleted from the IAM policy
object (IAMPolicy) | |
object (IAMPolicy) |
Responses
Request samples
- Payload
{- "add": {
- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "roles": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "delete": {
- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "roles": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
GetIAMGranularPolicySpace Deprecated
Retrieve the granular policy assigned to a specific subject for a specific object type.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
objectType required | string Object Type |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "action": "string",
- "objectId": "string"
}
]
}
SetIAMGranularPolicySpace Deprecated
Modify the IAM policy by adding or removing granular permissions for a specific object type. If the policy does not exist, it will be implicitly created
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
objectType required | string Object Type |
Request Body schema: application/jsonrequired
Contains details of roles and permissions to be added or deleted from the IAM policy
Array of objects (GranularPolicyList) | |
Array of objects (GranularPolicyList) |
Responses
Request samples
- Payload
{- "add": [
- {
- "action": "string",
- "objectId": "string"
}
], - "delete": [
- {
- "action": "string",
- "objectId": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
GetIAMPolicySpace
Retrieve the policy assigned to a specific subject
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "roles": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
SetIAMPolicySpace
Modify the IAM policy by adding or removing roles and permissions. If the policy does not exist, it will be implicitly created
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
subjectType required | string (SubjectType) Enum: "users" "serviceAccounts" The Type of the Object holding or destined to hold an IAMPolicy |
subjectId required | string <uuid> Identifier of the subject of the operation. |
Request Body schema: application/jsonrequired
Contains details of roles and permissions to be added or deleted from the IAM policy
object (IAMPolicy) | |
object (IAMPolicy) |
Responses
Request samples
- Payload
{- "add": {
- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "roles": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "delete": {
- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "roles": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
GetACLServiceAccountOrganisation
Retrieve the ACLs assigned to a specific subject for a specific object type.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
serviceAccountId required | string <uuid> Service account ID |
query Parameters
object Paginated request | |
service required | string |
resource required | string |
subresource | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
DeleteACLServiceAccountOrganisationBulk
delete an ACLs between a subject and a resource.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
serviceAccountId required | string <uuid> Service account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be removed.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
CreateACLServiceAccountOrganisationBulk
Create an ACLs between a subject and a resource.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
serviceAccountId required | string <uuid> Service account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be added.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
GetACLUserOrganisation
Retrieve the ACLs assigned to a specific user for a specific object type.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
query Parameters
object Paginated request | |
service required | string |
resource required | string |
subresource | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
DeleteACLUserOrganisationBulk
delete an ACLs between a subject and a resource.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be removed.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
CreateACLUserOrganisationBulk
Create an ACLs between a subject and a resource.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be added.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
GetACLServiceAccountSpace
Retrieve the ACLs assigned to a specific subject for a specific object type.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
serviceAccountId required | string <uuid> Service account ID |
query Parameters
object Paginated request | |
service required | string |
resource required | string |
subresource | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
DeleteACLServiceAccountSpaceBulk
delete an ACLs between a subject and a resource.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
serviceAccountId required | string <uuid> Service account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be removed.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
CreateACLServiceAccountSpaceBulk
Create an ACLs between a subject and a resource.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
serviceAccountId required | string <uuid> Service account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be added.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
GetACLUserSpace
Retrieve the ACLs assigned to a specific subject for a specific object type.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
query Parameters
object Paginated request | |
service required | string |
resource required | string |
subresource | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
DeleteACLUserSpaceBulk
delete an ACLs between a subject and a resource.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be removed.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
CreateACLUserSpaceBulk
Create an ACLs between a subject and a resource.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Request Body schema: application/jsonrequired
Contains ACLs to be added.
required | Array of objects (ACLPaginatedList) [ 1 .. 100 ] items | ||||||||||
Array ([ 1 .. 100 ] items)
|
Responses
Request samples
- Payload
{- "items": [
- {
- "permissionId": "d5850203-7a23-4b4d-8f1b-99d510b781d3",
- "resource": "string",
- "resourceId": "string",
- "service": "string",
- "subresource": "string"
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
Token
Generate an access token
header Parameters
Authorization | string The client identifier. |
Request Body schema: application/x-www-form-urlencodedoptional
OAuth2 token request
client_id | string <uuid> The client id. |
client_secret | string The client secret. |
code | string The code authorization. |
grant_type required | string The grant type. |
redirect_uri | string The URLs redirection |
refresh_token | string The refresh Token |
Responses
Response samples
- 200
- 400
- 401
- 500
{- "access_token": "string",
- "expires_in": 0,
- "id_token": "string",
- "refresh_token": "string",
- "token_type": "string"
}
ListUserOrganisation
List users or get an existing user by email.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
query Parameters
string <email> User email | |
object Paginated request |
Request Body schema: application/json
A list of Identities Ids
items required | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
]
}
CreateUserOrganisation
Create a new user.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
Request Body schema: application/json
Create a user
email required | string <email> (Email) |
firstname required | string Firstname |
lastname required | string Lastname |
Responses
Request samples
- Payload
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 409
- 500
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
DeleteUserOrganisation
Delete an existing user
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetUserOrganisation
Retrieve an existing user
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
PatchUserStateOrganisation
Patch user state within an space.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
Request Body schema: application/json
Patch user state
active required | boolean Account activation/deactivation state |
Responses
Request samples
- Payload
{- "active": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 409
- 500
{- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
UpdateUserOrganisation
Update an existing user
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
Request Body schema: application/json
Update a user
email required | string <email> (Email) |
firstname required | string Firstname |
lastname required | string Lastname |
active required | boolean Account activation/deactivation state |
Responses
Request samples
- Payload
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 409
- 500
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
RecoverUserOrganisation
Generate a recovery link to let the user set his password / totp
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "expiration": "2018-11-13T20:20:39+00:00",
}
ListSpacesOfUser
Get a list of spaces assigned to a user within an organisation.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
userId required | string <uuid> User account ID |
query Parameters
object Paginated request |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
ListUserSpace
List users or get an existing user by email.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
query Parameters
string <email> User email | |
object Paginated request |
Request Body schema: application/json
A list of Identities Ids
items required | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
]
}
CreateUserSpace
Create a new user.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
Request Body schema: application/json
Create a user
email required | string <email> (Email) |
firstname required | string Firstname |
lastname required | string Lastname |
Responses
Request samples
- Payload
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 409
- 500
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
UnassignUserSpace
Unassign an existing user
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetUserSpace
Retrieve an existing user
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
PatchUserStateSpace
Patch user state within space.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Request Body schema: application/json
Patch user state
active required | boolean Account activation/deactivation state |
Responses
Request samples
- Payload
{- "active": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 409
- 500
{- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
AssignUserToSpace
Assign a user to a space within an organisation.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
UpdateUserSpace
Update an existing user
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Request Body schema: application/json
Update a user
email required | string <email> (Email) |
firstname required | string Firstname |
lastname required | string Lastname |
active required | boolean Account activation/deactivation state |
Responses
Request samples
- Payload
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 409
- 500
{- "email": "john.smith@acme.org",
- "firstname": "string",
- "lastname": "string",
- "active": true,
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
RecoverUserSpace
Generate a recovery link to let the user set his password / totp
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
userId required | string <uuid> User account ID |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "expiration": "2018-11-13T20:20:39+00:00",
}
CreateAdminServiceAccountSpace
Create a new administrator service account.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
spaceId required | string <uuid> Identifier of the Space |
Request Body schema: application/jsonrequired
Create a new service account
name required | string <string> Service account name |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "name": "string",
- "secret": "string"
}
ListServiceAccountOrganisation
List an existing service account.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
query Parameters
object Paginated request |
Request Body schema: application/json
A list of Identities Ids
items required | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "id": "string",
- "name": "string"
}
]
}
CreateServiceAccountOrganisation
Create a new service account.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
Request Body schema: application/jsonrequired
Create a new service account
name required | string <string> Service account name |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "name": "string",
- "secret": "string"
}
DeleteServiceAccountOrganisation
Delete an existing service account
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
serviceAccountId required | string <uuid> Service account ID |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetServiceAccountOrganisation
Retrieve an existing service account.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
serviceAccountId required | string <uuid> Service account ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "string",
- "name": "string"
}
UpdateServiceAccountOrganisation
Update an existing service account.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
serviceAccountId required | string <uuid> Service account ID |
Request Body schema: application/json
Update a service account
name required | string <string> Service account name |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 409
- 500
{- "id": "string",
- "name": "string"
}
ListSpacesOfServiceAccount
Get a list of spaces assigned to a service account within an organisation.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
serviceAccountId required | string <uuid> Service account ID |
query Parameters
object Paginated request |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
ListServiceAccountSpace
List an existing service account.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
query Parameters
object Paginated request |
Request Body schema: application/json
A list of Identities Ids
items required | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "id": "string",
- "name": "string"
}
]
}
CreateServiceAccountSpace
Create a new service account.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
Request Body schema: application/jsonrequired
Create a new service account
name required | string <string> Service account name |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "name": "string",
- "secret": "string"
}
DeleteServiceAccountSpace
Delete an existing service account
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
serviceAccountId required | string <uuid> Service account ID |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetServiceAccountSpace
Retrieve an existing service account.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
serviceAccountId required | string <uuid> Service account ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "string",
- "name": "string"
}
AssignServiceAccountToSpace
Assign a service account to a space within an organisation.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
serviceAccountId required | string <uuid> Service account ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}
UpdateServiceAccountSpace
Update an existing service account.
Authorizations:
path Parameters
spaceId required | string <uuid> Identifier of the Space |
serviceAccountId required | string <uuid> Service account ID |
Request Body schema: application/json
Update a service account
name required | string <string> Service account name |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 409
- 500
{- "id": "string",
- "name": "string"
}
ListOrganisationsIdentity
Get a list of organisations assigned to an identity.
Authorizations:
query Parameters
object Paginated request |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
ListSpacesIdentity
Get a list of spaces assigned to an identity within an organisation.
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
query Parameters
object Paginated request |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
ListSpaces
List spaces
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
query Parameters
object list spaces paginated request |
Request Body schema: application/json
A list of Spaces Ids
items required | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "nextPageToken": "string",
- "totalSize": -2147483648,
- "items": [
- {
- "description": "string",
- "name": "string",
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "status": "QUEUED",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
]
}
CreateSpace
Create Space
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
Request Body schema: application/jsonrequired
Space
description required | string <string> [ 1 .. 300 ] characters Space description |
name required | string <string> [ 1 .. 50 ] characters Space name |
Responses
Request samples
- Payload
{- "description": "string",
- "name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "description": "string",
- "name": "string",
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "status": "QUEUED",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
DeleteSpace
Delete Space
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
spaceId required | string <uuid> Identifier of the Space |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
}
GetSpaceById
Get Space
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
spaceId required | string <uuid> Identifier of the Space |
Responses
Response samples
- 200
- 401
- 403
- 404
- 500
{- "description": "string",
- "name": "string",
- "createdOn": "2018-11-13T20:20:39+00:00",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "status": "QUEUED",
- "updatedOn": "2018-11-13T20:20:39+00:00"
}
UpdateSpace
Partially update a space
Authorizations:
path Parameters
organisationId required | string <uuid> Identifier of the Organisation |
spaceId required | string <uuid> Identifier of the Space |
Request Body schema: application/jsonrequired
Space
description | string <string> [ 1 .. 300 ] characters Space description |
name | string <string> [ 1 .. 50 ] characters Space name |
Responses
Request samples
- Payload
{- "description": "string",
- "name": "string"
}
Response samples
- 400
- 401
- 403
- 404
- 500
{- "accounts": [
- "/account/12345",
- "/account/67890"
], - "balance": 30,
- "detail": "Your current balance is 30, but that costs 50.",
- "instance": "/account/12345/msgs/abc",
- "title": "You do not have enough credit.",
- "violations": [
- {
- "description": "string",
- "field": "string"
}
]
}