Create Organization
Creates a new Organization in the customer database.
Endpoint
Method: POST
URI: https://uselfserve-<tenant-name>.uniphore.com/cse/organizations/save
curl -X POST "https://uselfserve-<tenant-name>.uniphore.com/cse/organizations/save" -H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJBZG1pbiIsImV4cCI6MTY0OTQwMDI4OSwiaWF0IjoxNjQ5MzEzODg5fQ.hxYuYzT6o90S1pVxc29qIzcM04jTA12boz04LFUhjNZQxcrgtUT-kU1fto8TFkZyKUSPuzkmHJlnEZ_Eygbtew" -H "Content-Type: application/json" -d "[ { \"orgId\": 0, \"organizationName\": \"Test101\" } ]"
Header Parameter
Authorization - Bearer <Token>
Request Parameter
Parameter Name | Data Type | Description | Required/ Optional |
---|---|---|---|
| Integer | Auto-generated incremental number. | Required |
| String | The name of the Organization. The Organization name can have only alphanumeric, underscores without spaces. The maximum length allowed for an Organization name is 50 characters. | Required |
Example Request
[ { "orgId:0", "organizationName": "ORG4" } ]
Example Response
organizationData": [ { "orgId": 4, "organizationName": "ORG4" } ]
Response and Error Codes
Response Code | Condition |
---|---|
200 | OK |
201 | Created |
403 | Forbidden |
500 | Internal Server Error |