Set a domain's credentials for signed-in testing
PUT/v1/organizations/:org/domains/:domain/scan-credentials
Replaces the request headers (such as Authorization) and cookies that web application testing sends, so
pages and API operations behind sign-in are tested too. They are sealed at rest and never shown again. They
are sent only once the domain is verified, only to the sites in hosts (within the domain; by default the
domain and its www name), only over HTTPS with a certificate that verifies, and never to a redirect. The
check for API operations that answer without authentication still asks without them. Own domains only
(422 not_own_domain); 422 signed_in_testing_off when the server has no key.
Request
Responses
- 200
- 400
- 403
- 404
- 422
The domain's scan credentials, without values
The request is invalid
Your role does not allow this action
Not found, or not visible to you
Not possible in the current state