Description
Creates an external role for a user.
This is intended for users belonging to other organisations or companies.
HTTP method | URI scheme |
---|---|
POST | /server/external-role |
Parameters
Type | Name | Description | Qualification | Schema |
---|---|---|---|---|
Body | request | Request body parameters, see schema for details. | Required |
Responses
HTTP code | Common messages | Description | Schema |
---|---|---|---|
200 | The created external role. | ||
400 | The application with the specified key could not be found | String | |
The role name must be unique within the company! | String | ||
User agreement not found! | String | ||
Input not valid: ID can't be specified when creating an external role. | String | ||
Input not valid: Name and enabled must always be specified for an external role. | String | ||
User agreement not found! | String | ||
500 | An unexpected error occurred: JSON parse error <%1> | This error message can be returned if one or more parameters are of the wrong type. See ExternalRole for details. | String |
Security
Type | Name |
---|---|
apiKey | Key |