Update scan frequency

Sets how often Aikido scans a domain.

post/domains/{domain_id}/scanFrequency

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/domains/{domain_id}/scanFrequency
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: domains:write

Path parameters

domain_idinteger required

The ID of the domain to update.

Request body

scan_frequency'daily' | 'twice_a_week' | 'weekly' | 'monthly' | 'on_demand' required

How often the domain should be scanned.

Example request

{
  "scan_frequency": "weekly"
}

Response

The scan frequency has been updated.

successinteger

The integer 1 indicating success.

Example response

{
  "success": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.