Create User

post

/rest/v7/companies/{companyName}/users

This operation creates a new user.

Request

Supported Media Types
Path Parameters
  • Company name of the user. For Host Company users, use _host. For Partner Organization users, use partner organization company name.
Body ()
Root Schema : user
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : user
Type: object
Show Source
Back to Top

Examples

The following example shows how to create a user by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v7/companies/{companyname}/users

Request Body Sample

{
   "login": "AAP39",
   "firstName": "AA39",
   "lastName": "PP39",
   "email": "service2@bigmachines.com",
   "status": 1,
   "type": "FULL_ACCESS",
   "enabledForSso": "NOT_ENABLED",
   "languageCode": "es_ES",
   "currencyCode": "GBP"
}
Back to Top