Skip to main content
POST
/
v1
/
billing-accounts
/
{id}
:add-permission
Add a billing account permission
curl --request POST \
  --url https://rest.compute.cudo.org/v1/billing-accounts/{id}:add-permission \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "permissionRole": "UNKNOWN",
  "userEmail": "<string>",
  "userId": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

id
string
required

Body

application/json
permissionRole
enum<string>
default:UNKNOWN
required
Available options:
UNKNOWN,
OWNER,
VIEWER,
EDITOR
userEmail
string
userId
string

Response

A successful response.

The response is of type object.