Permissions

These are the endpoints for Permissions. More information coming soon.

GET
/v1/auth/permissions

List

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    dataCenterId
    Type
    string
    Description
  • Name
    billingAccountId
    Type
    string
    Description
Request
GET
/v1/auth/permissions
curl 'https://rest.compute.cudo.org/v1/auth/permissions' \
-H 'Accept: application/json'
Response
{
  "billingAccountPermissions": [
    {
      "permissionRole": "string",
      "role": "string",
      "userEmail": "string",
      "userId": "string",
      "userPicture": "string"
    }
  ],
  "dataCenterPermissions": [
    {
      "permissionRole": "string",
      "role": "string",
      "userEmail": "string",
      "userId": "string",
      "userPicture": "string"
    }
  ],
  "projectPermissions": [
    {
      "permissionRole": "string",
      "role": "string",
      "userEmail": "string",
      "userId": "string",
      "userPicture": "string"
    }
  ]
}

POST
/v1/billing-accounts/{billingAccountId}/add-user-permission

Add billing account user

Description for this endpoint is coming soon.

Body attributes

  • Name
    dataCenterId
    Type
    string
    Description
  • Name
    projectId
    Type
    string
    Description
  • Name
    role
    Type
    string
    Description
  • Name
    userEmail
    Type
    string
    Description

Path attributes

  • Name
    billingAccountId
    Type
    string
    Description
Request
POST
/v1/billing-accounts/{billingAccountId}/add-user-permission
curl 'https://rest.compute.cudo.org/v1/billing-accounts/{billingAccountId}/add-user-permission' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "dataCenterId": "string",
    "projectId": "string",
    "role": "string",
    "userEmail": "string"
}'

POST
/v1/billing-accounts/{billingAccountId}/remove-user-permission

Remove billing account user

Description for this endpoint is coming soon.

Body attributes

  • Name
    dataCenterId
    Type
    string
    Description
  • Name
    projectId
    Type
    string
    Description
  • Name
    role
    Type
    string
    Description
  • Name
    userId
    Type
    string
    Description

Path attributes

  • Name
    billingAccountId
    Type
    string
    Description
Request
POST
/v1/billing-accounts/{billingAccountId}/remove-user-permission
curl 'https://rest.compute.cudo.org/v1/billing-accounts/{billingAccountId}/remove-user-permission' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "dataCenterId": "string",
    "projectId": "string",
    "role": "string",
    "userId": "string"
}'

POST
/v1/data-centers/{dataCenterId}/add-user-permission

Add data center user

Description for this endpoint is coming soon.

Body attributes

  • Name
    billingAccountId
    Type
    string
    Description
  • Name
    projectId
    Type
    string
    Description
  • Name
    role
    Type
    string
    Description
  • Name
    userEmail
    Type
    string
    Description

Path attributes

  • Name
    dataCenterId
    Type
    string
    Description
Request
POST
/v1/data-centers/{dataCenterId}/add-user-permission
curl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/add-user-permission' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string",
    "projectId": "string",
    "role": "string",
    "userEmail": "string"
}'

POST
/v1/data-centers/{dataCenterId}/remove-user-permission

Remove data center user

Description for this endpoint is coming soon.

Body attributes

  • Name
    billingAccountId
    Type
    string
    Description
  • Name
    projectId
    Type
    string
    Description
  • Name
    role
    Type
    string
    Description
  • Name
    userId
    Type
    string
    Description

Path attributes

  • Name
    dataCenterId
    Type
    string
    Description
Request
POST
/v1/data-centers/{dataCenterId}/remove-user-permission
curl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/remove-user-permission' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string",
    "projectId": "string",
    "role": "string",
    "userId": "string"
}'

POST
/v1/projects/{projectId}/add-user-permission

Add project user

Description for this endpoint is coming soon.

Body attributes

  • Name
    billingAccountId
    Type
    string
    Description
  • Name
    dataCenterId
    Type
    string
    Description
  • Name
    role
    Type
    string
    Description
  • Name
    userEmail
    Type
    string
    Description

Path attributes

  • Name
    projectId
    Type
    string
    Description
Request
POST
/v1/projects/{projectId}/add-user-permission
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/add-user-permission' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string",
    "dataCenterId": "string",
    "role": "string",
    "userEmail": "string"
}'

POST
/v1/projects/{projectId}/remove-user-permission

Remove project user

Description for this endpoint is coming soon.

Body attributes

  • Name
    billingAccountId
    Type
    string
    Description
  • Name
    dataCenterId
    Type
    string
    Description
  • Name
    role
    Type
    string
    Description
  • Name
    userId
    Type
    string
    Description

Path attributes

  • Name
    projectId
    Type
    string
    Description
Request
POST
/v1/projects/{projectId}/remove-user-permission
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/remove-user-permission' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string",
    "dataCenterId": "string",
    "role": "string",
    "userId": "string"
}'