API Definition
Last updated
Last updated
© Copyright 2024, Cybus GmbH
OK
OK
Accepted. The archive is uploaded, and the database restores process starts.
Array of user ids
OK
Accepted. Database backup started.
User IDs to be deleted
ok
Id of user
Token(s) deleted
Token data
OK
MFA configuration
Array of user ids
LDAP configuration
Id of user
OK
Id of role
Id of permission
OK
OK
Id of role
OK
This parameter defines how long the registration endpoint will be kept open (in milliseconds). Default if undefined: 30000 milliseconds
30000
OK
OK
ok
Credentials
Changed
Object with array of roles names and ids
Certificate content
User to disable
ok
ok
"otpauth://totp/Cybus:Connectware?issuer=Cybus&secret=something&algorithm=SHA1&digits=6&period=30"
Not supported
OK
Id of user
List of user generated tokens
Id of user
Certificate to be created
Created
OK
The minimum number of characters a password must contain. Zero disables this rule.
The minimum number of lower-case letters a password must contain. Zero disables this rule.
The minimum number of upper-case letters a password must contain. Zero disables this rule.
The minimum number of digit numbers a password must contain. Zero disables this rule.
The minimum number of symbol or punctuation characters a password must contain. Zero disables this rule.
Id of role
Id of permission
Permission
The MQTT topic or REST URL path for which the permission is granted. Both may include MQTT-style wildcards.
Id of user
Data required for deleting a certificate
OK
Id of user
Role to be added
Created
Id of role
Role
Id of user
Data required for deleting a role
OK
Id of role
Array of permissions
The MQTT topic or REST URL path for which the permission is granted. Both may include MQTT-style wildcards.
User to regenerate codes for
ok
Id of role
Id of permission
Data required for update of a permission
OK
The ids of all permissions aggregated by resource, operation and context
The permission's resource
The ids that have the same aformentioned resource, operation and context
User to validate
ok
OK
String with ISO 8601 timestamp of the last request update.
"2022-03-25T17:25:21.379Z"
Username that is requested to be granted access.
"iot.device.0123456"
Free text that helps the granting user understanding where this request comes from.
"IoT Device Serial Number <0123456>"
OK
Permissions the authenticated user has
Array of roles
Authentication credentials
OK
Permissions the authenticated user has
Present when MFA was enrolled by the user already
Present when MFA has to be enrolled but was not enrolled by the user
OK
Indicate the current running status of a backup/restore operation.
Id of role
Permission to be created
Created
Role to be created
Created
Id of user
User
Array of certficates
Id of role
Data required for update of a role
OK
Certificate content to be added, a chain can be passed and will be accepted
Array of added certficates
Username to confirm. Must match a username that is currently in the pendingRequests list.
An array of roleId of the roles the new user should have. (Must be roleId, not role name.)
OK
User to be created
An array of roleId of the roles the new user should have. (Must be roleId, not role name.)
Created
User to be created
An array of roleId of the roles the new user should have. (Must be roleId, not role name.)
Created
Id of user
Data required for update of a user
An array of roleId of the roles the new user should have. (Must be roleId, not role name.)
Indicates that MFA for the given user should be disabled
Enforces the user to enroll MFA
OK
All necessary data for logging in with MFA
ok
Permissions the authenticated user has
Present when MFA was enrolled by the user already
Present when MFA has to be enrolled but was not enrolled by the user
Object with array of users and pagination information
Object with array of permissions and pagination information
Object with array of roles and pagination information
Username to be registered. The Auth Server will check this for uniqueness, so be sure to generate a reasonably namespaced username.
"iot.device.0123456"
Secret password that should be set for the user. This will be stored in hashed form on the receiver side. Either this or a csr should be supplied.
"secret-password"
Base 64 encoded certificate signing request in PEM format. Instead of a password, a client side certificate (x.509) can be used for authentication. If the CSR is supplied, the signed certificate will be returned once the authentication request is granted.
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQ3REQ0NBWndDQVFBd2J6RUxN\nQWtHQTFVRUJoTUNSRVV4RHpBTkJnTlZCQWdNQmtKbGNteHBiakVVTUJJRwpBMVVFQ2d3TFVtOWli\nM1J6SUVsdVl5NHhEREFLQmdOVkJBc01BMUltUkRFTk1Bc0dBMVVFQXd3RVVqSkVNakVjCk1Cb0dD\nU3FHU0liM0RRRUpBUllOY2pKa01rQmplV0oxY3k1cGJ6Q0NBU0l3RFFZSktvWklodmNOQVFFQkJR\nQUQKZ2dFUEFEQ0NBUW9DZ2dFQkFNSXlsQmk4azFIZDJseERXZHd5N1Z3WngvaUlrdWpTUUVtWmdk\nY0JqNk4veTZTSQpiTGMwdFpmK2JGWUZZZ2p0OHRFUUJPRzhNeW94YmYwQSs4T0dHZFJvV3l2eHFt\nci9TLzhNa1ZGUXJiS2duMDBaCmVrdWlZQVBUOFMvT0FZVnlGT21rWWtWSm0wdkRwMmRkcXRiTUZY\nbXZ1OGxnVnVPckFwMEQ4TjdBcVgwWlUwc0UKZzRmVkdpREtnS040cUFEcXR3aVZKb0dsR0JCYWpm\nejAxSlhEWnhpUEVac3BYSGJyaVY0Z1JvV0VIVGNGcWc4cgo1WCtZRDlqTGVGdFdRb0g5SHA3ZEFP\nY1lCRktVRVZjWTlGN20vRWZkVFBwNjNnbTdRdFR4S0EvelIyODRWQUVCCjZFbC8xU2FCME54YlVw\nbHgzVHp4T2ZKYjJpdEd0S1RzN1U2UnF3VUNBd0VBQWFBQU1BMEdDU3FHU0liM0RRRUIKQ3dVQUE0\nSUJBUUIxejdKcGRIRERScTl2WE1BMmNBVVZBRmYvYkRXNzlkNmlMQ0pDVDZ5WlhOcHV0ZXA3N1pQ\ndQpIMSszb08vZmRJdDhaOThjV0J4ZVBNckVDM2krQ0lIdms4a202SVFMVW05cUZVdHRDN0VjUmpU\nUFYwT29vb2l0ClhXOHhzWVhGaEZPTStydTJnbEcrSUVMY3BydS9JamxyVHpwaUtNZVJGQ1FFemww\nWWtZRDZkSk82ME1CRVhjZUgKWHpFZTRtT2oxUDJKNFcycFI1bDFsQjZ5dXB4SWVuRjRhNm5EeFFE\neFZkcmtBTHNJdDhGZUNTNDNvaHg4NVQ5SApHN2IwOFdmdEFrYzhKR3ZLb00rdE90MzlVZFFESE1S\nOU5QOG9RUUpMaldMcWZRdUtaRmZXNVJyR24zSzA2UGNICkRMN1FNc1hxNFBaMyswUXpCSjZJVGoz\naUZubHp1VXBqCi0tLS0tRU5EIENFUlRJRklDQVRFIFJFUVVFU1QtLS0tLQo=\n"
Name of roles the user wants to be assigned to
Permissions the user wants to be granted individually
Free text that helps the granting user understanding where this request comes from.
"IoT Device Serial Number <0123456>"
Granted. The registration request has been confirmed, proceed to login
Signed certificate in Base64 encoded PEM format. This is only supplied if a CSR had been present in the registration payload.
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS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