Site

Site Scan Credential

Changed on

Updates the specified site credential.

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

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

descriptionstring

The description of the credential.

enabledboolean

Whether this credential is enabled

hostRestrictionstring

The host name or IP address that you want to restrict the credentials to.

idinteger

The identifier of the credential.

namestring required

The name of the credential.

portRestrictioninteger

Further restricts the credential to attempt to authenticate on a specific port.

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