Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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 MethodURI Scheme
POST/server/access

Parameters

TypeNameDescriptionQualificationSchema
Body

request

Request body parameters, see schema for details.

Required

Access

Responses

HTTP CodeMessageDescriptionSchema
200

The created access.

Access

400The application with the specified key could not be found

400Input not valid: First name and last name must always be specified.

400Input not valid: Type, private ID and managed must be specified when creating an access.

400Input not valid: Corporate ID must be specified when creating access of type CORPORATE.

400Input not valid: Corporate ID can not be specified when creating access of type PRIVATE.

400Input not valid: Access ID can not be specified when creating an access.

400Input not valid: State can not be specified when creating an access.

500
  • An unexpected error occurred: Required request body is missing[....]
  • An unexpected error occurred: JSON parse error[...]
  • An unexpected error occurred: An unknown error has occurred

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

TypeName
apiKeyKey
  • No labels