Add User
PUT
/admin/users
Add a new User
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Request Body
application/json
JSON "userId": "string", "password": "string", "apiKey": "string", "roles": [ "string" ], "email": "string", "emailVerified": true, "displayName": "string", "disabled": true
{
}
Responses
application/json
JSON "user": "string", "isAdmin": true, "apiKey": "string", "roles": [ "string" ], "grants": [ { "name": "string", "read": true, "write": true, "administrate": true, "grantType": "COLLECTION" } ], "email": "string", "emailVerified": true, "displayName": "string", "identities": [ { "provider": "string", "subject": "string", "email": "string" } ], "disabled": true, "lastLoginAt": "2024-01-01T00:00:00Z", "mfaEnabled": true
{
}
