Monad API
string · requiredstringstringstringstringstringstring[]string
string · required
Properties for Variant 1:stringstringstringstringstringstring[]string
string · requiredstring · requiredstringstringstringstringstringstring[]string
string · requiredstring · required
Properties for Variant 1:stringstringstringstringstringstring[]string
string · requiredstring · required
Properties for Variant 1:
Billing account role-based access control
Get Billing Account Roles
GET
https://app.monad.com/api
/v2/billing/accounts/{billing_account_id}/roles
Authorization (header)
Get Billing Account Roles
path Parameters
billing_account_idBilling Account ID
Get Billing Account Roles › Responses
get billing account roles successfull
object[]
billing_account_idcreated_atdescriptionidnamepermissionsupdated_atobject[]
Create Billing Account Role
POST
https://app.monad.com/api
/v2/billing/accounts/{billing_account_id}/roles
Authorization (header)
Create Billing Account Role
path Parameters
billing_account_idBilling Account ID
Create Billing Account Role › Request Body
oneOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object · requires: name, permissions |
Create Billing Account Role › Responses
create billing account role successfull
billing_account_idcreated_atdescriptionidnamepermissionsupdated_atobject[]
Get Billing Account Role
GET
https://app.monad.com/api
/v2/billing/accounts/{billing_account_id}/roles/{role_id}
Authorization (header)
Get Billing Account Role
path Parameters
billing_account_idBilling Account ID
role_idRole ID
Get Billing Account Role › Responses
get billing account role successfull
billing_account_idcreated_atdescriptionidnamepermissionsupdated_atobject[]
Update Billing Account Role
PATCH
https://app.monad.com/api
/v2/billing/accounts/{billing_account_id}/roles/{role_id}
Authorization (header)
Update Billing Account Role
path Parameters
billing_account_idBilling Account ID
role_idRole ID
Update Billing Account Role › Request Body
oneOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
Update Billing Account Role › Responses
update billing account role successfull
billing_account_idcreated_atdescriptionidnamepermissionsupdated_atobject[]
Create Billing Account User Role
POST
https://app.monad.com/api
/v2/billing/accounts/{billing_account_id}/roles/{role_id}/users
Authorization (header)
Add a user to a billing account role
path Parameters
billing_account_idBilling Account ID
role_idRole ID
Create Billing Account User Role › Request Body
oneOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object · requires: user_email |
Create Billing Account User Role › Responses
create billing account user role successfull
string