Create OrgUser
Description | Creates a new orguser under root org, attached to an orgunit |
HTTP Method | /v1/identity/organizations/{organization_id}/orgusers |
HTTP Path | POST |
Associated Scope(s) | identity.employees |
Request Path Parameters (If Any)
Name | Type | Description |
---|---|---|
organization_id | string | Root Org UUID. |
Request Query/Body Parameters (If Any)
Name | Type | Description |
---|---|---|
orguser | entities.OrgUser | OrgUser to be created. |
Response Fields (If Any)
Name | Type | Description |
---|---|---|
orguser | entities.OrgUser | OrgUser that got created. |
Endpoint Specific Errors (Standard API Errors are defined here)
Http Status Code | Code | Message |
---|---|---|
400 | bad_request | A bad request like “non-existent orgID” |
401 | unauthorized | No authentication provided, or invalid auth credentials, or missing scopes, etc. |