PUT /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}
Replaces a credential. All fields must be provided.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
credential_id |
String | Yes |
Credential identifier. |
credential_set_id |
String | Yes |
Credential set identifier. |
account_id |
String | Yes |
Account identifier. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
name |
String | Yes |
Human-readable name. |
location |
String | Yes |
Where the credential is attached in outgoing requests. Valid values:
|
value |
String | Yes |
The credential value. Write-only. Never returned in responses. |
location_name |
String | Yes |
Name of the header or cookie where the credential is attached. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.