Description
Creates an access for a user. For a platform-managed access in the INVITED state, the application also needs to activate the access before it can be used. This can be done with the API POST /server/access/{accessId}/activate.
HTTP Method | URI Scheme |
---|---|
POST | /server/access |
Parameters
Type | Name | Description | Qualification | Schema |
---|---|---|---|---|
Body | request | Request body parameters, see schema for details. | Required |
Responses
HTTP Code | Message | Description | Schema |
---|---|---|---|
200 | The created access. | ||
400 | The application with the specified key could not be found | ||
400 | Input not valid: First name and last name must always be specified. | ||
400 | Input not valid: Type, private ID and managed must be specified when creating an access. | ||
400 | Input not valid: Corporate ID must be specified when creating access of type CORPORATE. | ||
400 | Input not valid: Corporate ID can not be specified when creating access of type PRIVATE. | ||
400 | Input not valid: Access ID can not be specified when creating an access. | ||
400 | Input not valid: State can not be specified when creating an access. | ||
500 |
| This error occurs when the required Access is not sent. These error messages are returned when the parameters are not specified properly or are of wrong type. For example, the unknown error is returned if the ID of the private identity is not correct. Refer to Access for more details. |
Security
Type | Name |
---|---|
apiKey | Key |