- Getting Started
- Authentication
- Common Error Responses
- Filtering Data
- Authentication
- Organizations
- Organization Subscriptions
- Subscribe to a planPOST
- List organizationsGET
- Create OrganizationPOST
- List dependent subscriptionsGET
- Show an organizationGET
- Update an organizationPUT
- Delete an organizationDELETE
- Subscribe an organization to a planPOST
- Unsubscribe an organization from a planPOST
- Move a user from one organization to anotherPUT
- Export all organizations to a CSV fileGET
- Users
- 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
- Transfers all the resources from the user to another user
- Delete my account
- Targets
- Schedules
- Scans
- Reports
- Advanced Reports
- Vulnerabilities
- Exceptions
- Scanners
- Port Lists
- Subscriptions
- Hosts
- Notifications
- Whitelabel
- Webhooks
- Webhook Events
- Audit
- Whitelabel Settings
Update User
PUT
/v2/users/{id}
Users
Last modified:2024-11-22 19:53:37
Request
Path Params
id
string
required
Body Params application/json
user
object
optional
email
string
optional
Example:
user@clone-systems.com
organization_id
string <uuid>
optional
first_name
string
optional
Example:
Joe
last_name
string
optional
Example:
Doe
locale
string
optional
Example:
en
timezone
string
optional
Example:
UTC
phone
string
optional
Example:
2353032211
mobile_phone
string
optional
Example:
+3053032211
url
string
optional
Example:
clone-systems.com
title
string
optional
Example:
Software Engineer
address
string
optional
Example:
Street 33
city
string
optional
Example:
Athens
state
string
optional
Example:
State
country
string
optional
Example:
Greece
zipcode
string
optional
Example:
10431
comment
string
optional
Example:
A comment
Example
{
"user": {
"email": "user@clone-systems.com",
"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
"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"
}
}
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 PUT '/v2/users/' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
đŸŸ¢200OK
application/json
Body
object {0}
Example
{}
đŸŸ 401Unauthorized
đŸŸ 403Forbidden
đŸŸ 404Record Not Found
Modified at 2024-11-22 19:53:37