Probely Developers
  1. Account
Probely Developers
  • Account
    • Retrieve account information
      GET
    • Retrieve billing information
      GET
    • Partial update billing information
      PATCH
    • Update billing information
      PUT
    • Action that should be taken to enable the selected targets
      POST
    • Estimate costs of updating a subscription
      POST
    • Update a subscription
      POST
    • Available actions for the selected targets
      POST
  • Login
    • Authenticate user
      POST
    • Replace token with a new one
      POST
    • Revoke a token
      POST
    • Verify a token
      POST
    • Enterprise user authentication
      POST
    • Enterprise token refresh
      POST
    • Enterprise token revokation
      POST
    • Enterprise token verification
      POST
  • Password Reset
    • Check validity of password reset token
      POST
    • Send reset password email
      POST
    • Reset password after asking for a reset (with the token sent by email).
      POST
  • Events
    • List account events
      GET
    • Retrieve account event
      GET
    • List target events
      GET
    • Retrieve target event
      GET
    • List target webhooks
      GET
    • Create new target webhook
      POST
    • Delete target webhook
      DELETE
    • Retrieve target webhook
      GET
    • Partial update target webhook
      PATCH
    • Update target webhook
      PUT
    • List account webhooks
      GET
    • Create new account webhook
      POST
    • Delete account webhook
      DELETE
    • Retrieve account webhook
      GET
    • Partial update account webhook
      PATCH
    • Update account webhook
      PUT
  • Frameworks
    • List frameworks
    • Retrieve framework
  • Integrations
    • Integrations available and installed in the account
    • Integrations available and installed for the target
  • Jira Cloud Integration
    • List Jira Projects
    • Retrieve project issue types
    • Retrieve issue priorities
    • Retrieve issue statuses
    • Retrieve Jira Cloud finding configuration
    • Update Jira Cloud finding configuration
    • Update Jira Cloud finding configuration
    • Retrieve Jira Cloud Target configuration
    • Update Jira Cloud target configuration
    • Update Jira Cloud target configuration
  • Jira Server Integration
    • List Jira Projects
    • Retrieve project issue types
    • Retrieve issue priorities
    • Retrieve issue statuses
    • Retrieve Jira Server finding configuration
    • Update Jira Server finding configuration
    • Update Jira Server finding configuration
    • Retrieve Jira Server Target configuration
    • Update Jira Server target configuration
    • Update Jira Server target configuration
  • API Keys
    • List API keys allowed to operate on account
    • Create account API key
    • Delete account API key
    • Retrieve account API key
    • List target specific API keys
    • Create target API key
    • Delete target API key
    • Retrieve target API key
  • Labels
    • List labels
    • Create label
    • Delete label
    • Retrieve framework
    • Partial update
    • Update label
  • Plan
    • Subscription plans
  • Users
    • User data
    • Change user password
    • List users
    • Create/Reactivate a user.
    • Deactivate a user
    • Retrieve user
    • Partial update user
    • Update user
  • Targets
    • List targets
    • Create target
    • Delete target
    • Retrieve target
    • Partial update target
    • Update target
  • Archive
    • Activate targets
    • Archive targets
    • List archived targets
  • Statistics
    • Average fix time graph data (all targets)
    • Targets with open vulnerabilities pie chart data
    • Targets with open vulnerabilities
    • Risk trend graph data (all targets)
    • Severity trend graph data (all targets)
    • Top 5 vulnerabilities (all targets).
    • Average vulnerability trend graph data
    • Risk trend graph data
    • Severity trend graph data.
    • Top 5 vulnerabilities
  • Scans
    • List scans for all targets
    • Start a scan on the target
    • List scans
    • Dates where scans have ocurred
    • Scan page
    • Retrieve scan
    • Cancel running scan
    • Scan endpoints file
    • Scan report PDF, using the report type specified for the target
    • Scan report PDF, using the default report type
    • Scan report PDF, using the OWASP report type
    • Scan report PDF, using the PCI report type
  • Scheduled
    • List scheduled scans for all targets expanding recurrence
    • List scheduled scans
    • Create new scheduled scan
    • List scheduled scans expanding recurrence
    • Delete
    • Retrieve a scheduled scan
    • Partial update
    • Update a scheduled scan
  • Assets
    • List target's assets
    • Create new asset
    • Delete asset
    • Retrieve asset
    • Partial update assets
    • Update asset
    • Verify asset ownership
  • Findings
    • List target findings
    • Finding report
    • Bulk retest findings
    • Bulk update findings
    • Retrieve finding report PDF format
    • Retrieve finding
    • Partial update finding
    • Update finding
    • Finding activity log.
    • Retest finding
  • Slack Integration
    • Retrieve slack integration data
    • Update slack integration data
    • Update slack integration data
  • Site
    • Retrieve target's site
    • Partial update target's site
    • Update target's site
    • Verify site ownership
  • Vulnerabilities
    • List vulnerability definitions
    • Retrieve vulnerability definition
  1. Account

Update a subscription

POST
/billing/subscribe/

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🟠400400
🟠401401
🟠403403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.probely.com/billing/subscribe/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "coupon_ids": [
        "string"
    ],
    "target_ids": [
        "jMXUw-BE_2vd"
    ]
}'
Response Response Example
200 - Example 1
{
    "amount_due": 0,
    "amount_paid": 0,
    "currency_code": "EUR",
    "discounts": [
        {
            "amount": 0,
            "description": "string"
        }
    ],
    "line_items": [
        {
            "amount": 0,
            "description": "string",
            "discount_amount": 0,
            "quantity": 0,
            "tax_amount": 0,
            "unit_amount": 0
        }
    ],
    "plan": "string",
    "plan_id": "jMXUw-BE_2vd",
    "sub_total": 0,
    "taxes": [
        {
            "tax_amount": 0,
            "tax_name": "string",
            "tax_rate": 0
        }
    ],
    "total": 0
}
Modified at 2022-09-11 19:40:29
Previous
Estimate costs of updating a subscription
Next
Available actions for the selected targets
Built with