slas

Assign

POST
Assigns the SLA to a set of Rev organizations.

Request

This endpoint expects an object.
rev_orgs
list of stringsRequired
The Rev organizations to apply the SLA to.
id
stringOptional
The SLA which would be assigned to the Rev organizations. If omitted, the SLA of all the rev organizations referenced will be unset.

Response

This endpoint returns an object
results
list of objects
The list of outcomes for each Rev organization.
POST
1curl -X POST https://api.devrev.ai/slas.assign \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "rev_orgs": [
6 "rev_orgs"
7 ]
8}'
200
Successful
1{
2 "results": [
3 {
4 "rev_org": {
5 "id": "id"
6 },
7 "error": {
8 "message": "message",
9 "status": 1
10 }
11 }
12 ]
13}