rev-orgs

Update

POST
Updates the Rev organization's information.

Request

This endpoint expects an object.
id
stringRequired
The ID of Rev organization to update.
description
stringOptional
Description of the Rev organization.
display_name
stringOptional
Customer chosen name for the Rev organization.
domain
stringOptional
Company's domain name.
environment
enumOptional
The environment of the Org. Defaults to 'production' if not specified.
Allowed values: productionstagingtest
external_ref
stringOptional
External ref is a custom unique identifier which is a reference to an unique id for this organization's data in some system of records.
tier
stringOptional
The tier of the RevOrg.

Response

This endpoint returns an object
rev_org
object
POST
1curl -X POST https://api.devrev.ai/rev-orgs.update \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "REV-AbCdEfGh"
6}'
200Successful
1{
2 "rev_org": {
3 "id": "id",
4 "created_date": "2023-01-01T12:00:00Z",
5 "description": "description",
6 "display_id": "display_id",
7 "display_name": "display_name",
8 "domain": "companyname.com",
9 "external_ref": "external_ref",
10 "modified_date": "2023-01-01T12:00:00Z"
11 }
12}