- 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
- Organization Subscriptions
- Subscribe to a planPOST
- List organizationsGET
- Create OrganizationPOST
- List dependent subscriptionsGET
- Retrieve an organizationGET
- Update an organizationPUT
- Delete an organizationDELETE
- Subscribe an organization to a planPOST
- Unsubscribe an organization from a planPOST
- Change users OrganizationPUT
- Export organizationsGET
- Users
- Whitelabel Settings
'Update organization's subscription'
PUT
/v2/organizations/{org_id}/subscriptions/{sub_id}
Organizations/Organization Subscriptions
Last modified:2025-04-24 10:59:46
Request
Path Params
org_id
stringÂ
required
sub_id
stringÂ
required
Query Params
attributes
array[string]
optional
Body Params application/json
subscription
objectÂ
optional
status
enum<string>Â
optional
Allowed values:
activeinactivecanceled
Example:
active
end_date
string  | nullÂ
optional
Example:
2023-12-15T19:19:18.037Z
price
integerÂ
optional
Example:
14.33
trial_enabled
booleanÂ
optional
Example:
true
trial_duration_days
integerÂ
optional
Example:
14
auto_renewal
booleanÂ
optional
Example:
true
cancellation_reason
string  | nullÂ
optional
Example:
No reason
billing_interval
enum<string>Â
optional
Allowed values:
nonemonthlyyearly
Example:
yearly
features
objectÂ
optional
Example
{
"subscription": {
"status": "active",
"end_date": "2023-12-15T19:19:18.037Z",
"price": 14.33,
"trial_enabled": true,
"trial_duration_days": 14,
"auto_renewal": true,
"cancellation_reason": "No reason",
"billing_interval": "none",
"features": {
"number_of_ips": {
"limit": 10
},
"rescan": {
"active": true,
"unlimited": false,
"num_of_rescans": 10,
"unit": "day",
"when_run": "always"
},
"ai_remediator": {
"active": true
},
"internal_vrms": {
"active": true,
"unlimited": false,
"limit": 10
},
"internal_penetration": {
"active": true,
"unlimited": false,
"limit": 10
}
}
}
}
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/organizations//subscriptions/' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
This response does not have a body.
🟠401Unauthorized
🟠404Record Not Found
Modified at 2025-04-24 10:59:46