Site

Assigned Shared Credential Enablement

Changed on

Enable or disable the shared credential for the site's scans.

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

Request

Path parameters

credentialIdinteger required

The identifier of the credential.

Example:17

The identifier of the shared credential.

idinteger required

The identifier of the site.

Request body

boolean required

Flag indicating whether the shared credential is enabled for the site's scans.

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