- Getting Started
- Authentication
- Common Error Responses
- Filtering Data
- Authentication
- User Confirmation
- User Invitation
- Password Reset
- Impersonation
- MFA
- Sign in authenticationPOST
- Sign in with recovery codePOST
- Sign out authenticationDELETE
- Targets
- Scans
- Reports
- Vulnerabilities
- Exceptions
- Schedules
- Webhooks
- Advanced Reports
- Audit
- Notifications
- Hosts
- Scanners
- Port Lists
- User
- User 2FA
- User Preferences
- Get current user
- Update current user
- Change current user password
- Get current user active plans (Not implemented yet)
- Get organization members
- Get current user products
- Get current organization
- Update current organization
- Get subscriptions history
- Change users product
- Checks if authorization token is valid
- Get current user permissions
- Check if the user can be deleted
- Delete my account
- Generates a new access token
- Revokes the current access token
- (Admin) Transfers all the resources from the user to another user
- Organizations
- Users
- Whitelabel Settings
Create Customer
POST
/v2/users/create_customer
Users
Last modified:2025-04-24 10:59:46
Request
Body Params application/json
customer
objectÂ
optional
organization_id
string <uuid>
optional
organization
objectÂ
optional
user
objectÂ
optional
plans
array [object {5}]Â
optional
Example
{
"customer": {
"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
"organization": {
"name": "company_name",
"description": "organization description",
"company_name": "Company",
"skip_default_subscription": true,
"parent_organization": "5d702bf8-e908-41df-92de-feea0acf2f4e"
},
"user": {
"email": "user@clone-systems.com",
"first_name": "Joe",
"last_name": "Doe",
"locale": "en",
"timezone": "UTC",
"phone": "2353032211",
"mobile_phone": "+3053032211",
"url": "clone-systems.com",
"title": "Software Engineer",
"address": "Street 33",
"city": "Athens",
"state": "State",
"country": "Greece",
"zipcode": "10431",
"comment": "A comment",
"confirmed": true,
"password": "password123",
"password_confirmation": "password123"
},
"plans": [
{
"plan": "vrms_plan",
"partner": true,
"interval": "none",
"start_date": "string",
"end_date": "string"
}
]
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/users/create_customer' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
đŸŸ¢201Created
This response does not have a body.
đŸŸ 401Unauthorized
đŸŸ 403Forbidden
đŸŸ 404Record Not Found
đŸŸ 422Parameter Error
Modified at 2025-04-24 10:59:46