CreateUsers
This method can be used for the following functionality: Create multiple new users in AttackForge.
Parameters
The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.
Headers
Query
first_name (string)
First name of the user.
Example:
last_name (string)
Last name of the user.
Example:
username (string)
Username of the user. If SSO is enabled, should be username in external identity provider. If SSO is disabled, should be email address.
Example:
email (string)
Email address of the user.
Example:
password (string)
Password. Should be minimum 15 characters in length.
Example:
role (string)
Role of the user. Must be one of the following: admin, librarymod, client, consultant, projectoperator.
Example:
mfa (string)
Whether MFA is enabled or disabled for the user. Must be one of the following: Yes, No.
Example:
Example
The following example is a cURL request to create multiple new users.
Request
Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.
Response
Response contains an array of user objects.
Last updated