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 10 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 codeCommon messagesDescriptionSchema
200

The created access.

Access

400The application with the specified key could not be found
string
Input not valid: First name and last name must always be specified.
string
Input not valid: Type, private ID and managed must be specified when creating an access.
string
Input not valid: Corporate ID must be specified when creating access of type CORPORATE.
string
Input not valid: Corporate ID can not be specified when creating access of type PRIVATE.
string
Input not valid: Access ID can not be specified when creating an access.
string
Input not valid: State can not be specified when creating an access.
string
500

An unexpected error occurred: Required request body is missing […]

This error occurs when the required Access is not sent.

string

An unexpected error occurred: JSON parse error […]

This error message can be returned when the parameters are not specified properly or are of wrong type. string

An unexpected error occurred: An unknown error has occurred

This error message can be 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.string

Security

TypeName
apiKeyKey
  • No labels