post https://{subdomain}.kommo.com/api/v4/roles
This method allows to add multiple roles to the account
Limitations
Method is available for users administrator rights only.
Data type header when the request is successful
Content-Type: application/hal+json
Data type header in case of an error
Content-Type: application/problem+json
status_rights
example
status_rights
example"status_rights": [
{
"entity_type": "leads",
"pipeline_id": XXXXXX,
"status_id": XXXXXXX,
"rights": {
"edit": "A",
"view": "A",
"delete": "A",
"export": "A"
}
}
]
Response parameters
Method returns a collection of created roles. The parameters are similar to the role list request parameters.