Permissions
These are the endpoints for Permissions. More information coming soon.
GET
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/permissionscurl 'https://rest.compute.cudo.org/v1/auth/permissions' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"projectPermissions": [
{
"userId": "string",
"userEmail": "string",
"userPicture": "string",
"role": "string",
"permissionRole": "string"
}
],
"dataCenterPermissions": [
{
"userId": "string",
"userEmail": "string",
"userPicture": "string",
"role": "string",
"permissionRole": "string"
}
],
"billingAccountPermissions": [
{
"userId": "string",
"userEmail": "string",
"userPicture": "string",
"role": "string",
"permissionRole": "string"
}
]
}
POST
Add billing account user
Description for this endpoint is coming soon.
Body attributes
- Name
projectId
- Type
- string
- Description
- Name
dataCenterId
- Type
- string
- Description
- Name
userEmail
- Type
- string
- Description
- Name
role
- Type
- string
- Description
Path attributes
- Name
billingAccountId
- Type
- string
- Description
Request
POST
/v1/billing-accounts/{billingAccountId}/add-user-permissioncurl 'https://rest.compute.cudo.org/v1/billing-accounts/{billingAccountId}/add-user-permission' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"projectId": "string",
"dataCenterId": "string",
"userEmail": "string",
"role": "string"
}'
Response
{}
POST
Remove billing account user
Description for this endpoint is coming soon.
Body attributes
- Name
projectId
- Type
- string
- Description
- Name
dataCenterId
- Type
- string
- Description
- Name
userId
- Type
- string
- Description
- Name
role
- Type
- string
- Description
Path attributes
- Name
billingAccountId
- Type
- string
- Description
Request
POST
/v1/billing-accounts/{billingAccountId}/remove-user-permissioncurl 'https://rest.compute.cudo.org/v1/billing-accounts/{billingAccountId}/remove-user-permission' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"projectId": "string",
"dataCenterId": "string",
"userId": "string",
"role": "string"
}'
Response
{}
POST
Add data center user
Description for this endpoint is coming soon.
Body attributes
- Name
projectId
- Type
- string
- Description
- Name
billingAccountId
- Type
- string
- Description
- Name
userEmail
- Type
- string
- Description
- Name
role
- Type
- string
- Description
Path attributes
- Name
dataCenterId
- Type
- string
- Description
Request
POST
/v1/data-centers/{dataCenterId}/add-user-permissioncurl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/add-user-permission' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"projectId": "string",
"billingAccountId": "string",
"userEmail": "string",
"role": "string"
}'
Response
{}
POST
Remove data center user
Description for this endpoint is coming soon.
Body attributes
- Name
projectId
- Type
- string
- Description
- Name
billingAccountId
- Type
- string
- Description
- Name
userId
- Type
- string
- Description
- Name
role
- Type
- string
- Description
Path attributes
- Name
dataCenterId
- Type
- string
- Description
Request
POST
/v1/data-centers/{dataCenterId}/remove-user-permissioncurl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/remove-user-permission' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"projectId": "string",
"billingAccountId": "string",
"userId": "string",
"role": "string"
}'
Response
{}
POST
Add project user
Description for this endpoint is coming soon.
Body attributes
- Name
dataCenterId
- Type
- string
- Description
- Name
billingAccountId
- Type
- string
- Description
- Name
userEmail
- Type
- string
- Description
- Name
role
- Type
- string
- Description
Path attributes
- Name
projectId
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/add-user-permissioncurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/add-user-permission' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dataCenterId": "string",
"billingAccountId": "string",
"userEmail": "string",
"role": "string"
}'
Response
{}
POST
Remove project user
Description for this endpoint is coming soon.
Body attributes
- Name
dataCenterId
- Type
- string
- Description
- Name
billingAccountId
- Type
- string
- Description
- Name
userId
- Type
- string
- Description
- Name
role
- Type
- string
- Description
Path attributes
- Name
projectId
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/remove-user-permissioncurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/remove-user-permission' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dataCenterId": "string",
"billingAccountId": "string",
"userId": "string",
"role": "string"
}'
Response
{}