Create organisation admin
POST/v2/onboard/organisation/admin
Creates an admin in the organisation. The dashboard uses this operation on the Manage Team page.
The new admin gets an invitation. The pendingInvitation field of the admin stays true until the admin logs in for the first time. Set passwordlessLoginEnabled to true to let the admin log in with an EUDI Wallet in place of a password.
Request
- application/json
Body
required
The admin to create.
The email address of the admin.
The full name of the admin.
When true, the admin can log in with an EUDI Wallet (passwordless login).
Responses
- 201
- 401
- 500
The service created the admin.
- application/json
- Schema
- Example (from schema)
Schema
admin object
Unique identifier for the admin
Admin's email address
Full name of the admin
Admin's phone number
Unique identifier for the admin's image
URL to the admin's image
External identifier for the admin
Identity provider ID
Numeric ID of the assigned role
Human-readable name of the role
authentication objectrequired
Configuration for authentication methods
password object
Configuration for password authentication
oidcPasswordless object
Configuration for Passwordless Login with EUDI Wallet
Whether Passwordless Login is enabled for the user
Whether the user has linked their EUDI Wallet for Passwordless Login
Credential Exchange ID of the issued iGrant.io Authenticator credential
Indicates if the admin account has a pending invitation
Unique identifier for the organization
Name of the organization
{
"admin": {
"id": "string",
"email": "[email protected]",
"name": "string",
"phone": "string",
"imageId": "string",
"imageUrl": "string",
"externalId": "string",
"identityProviderId": "string",
"roleId": 0,
"roleName": "string",
"authentication": {
"password": {
"enabled": true
},
"oidcPasswordless": {
"enabled": true,
"linked": true,
"authenticatorCredentialExchangeId": "string"
}
},
"pendingInvitation": true,
"organizationId": "string",
"organizationName": "string"
}
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}