Create/Update Company

post

/cloudapi/restapi/user/companies/add-list

This operation enables you to create and modify Company records. The operation creates a company if a matching company does not exist in the system or modifies the company if a match is found. Any new roles provided under the roles attribute are provisioned for the company by the operation. If successful, this operation returns an accepted status (202) with a location header pointing to a jobId status. The operation is complete when the jobId status returns OK (200). The previous create user operation must complete before another create company operation is allowed.

Request

Supported Media Types
Body ()
Root Schema : RestDataStoreCompanyRO
Type: object
Show Source
Nested Schema : added
Type: array
Show Source
Nested Schema : deleted
Type: array
Show Source
Nested Schema : deleteFailed
Type: array
Show Source
Nested Schema : modified
Type: array
Show Source
Nested Schema : updatedIdMap
Type: object
Additional Properties Allowed
Show Source
Nested Schema : Organization
Type: object
Show Source
Nested Schema : associations
Type: array
Unique Items Required: true
Show Source
Nested Schema : PwdPolicy
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: file

202 Response

Create/Modify Company request has been accepted and currently in progress.

400 Response

Invalid input, Please check.

500 Response

Internal Server Error. Underlying Identity Management System threw an error, Please check the logs.
Back to Top