Site

Site Credential Enablement

Changed on

Enable or disable the site credential for scans.

put/api/3/sites/{id}/site_credentials/{credentialId}/enabled

Request

Path parameters

credentialIdinteger required

The identifier of the credential.

Example:17

The identifier of the site credential.

idinteger required

The identifier of the site.

Request body

boolean required

Flag indicating whether the credential is enabled for use during the scan.

Response

OK

Example response

{
  "links": [
    {
      "href": "https://hostname:3780/api/3/...",
      "rel": "self"
    }
  ]
}

Changes

    • breaking

      added required request body

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status