POST /system/accounts/{account_tag}/stores/{store_id}/secrets
Creates one or more secrets in a store managed by the calling service. Returns 404 if the store doesn't exist or is not managed by the authenticated service.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
store_id |
String | Yes | |
account_tag |
String | Yes |
Account tag identifier (e.g., '12a6ed19f349896cfbd6694ba3de8d31'). This is the account's external tag identifier, not the numeric account ID. |
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 |
|---|---|---|---|
[] |
Array | Yes | |
[].scopes[] |
Array | Yes |
The list of services that can use this secret. |
[].comment |
String | No |
Freeform text describing the secret |
[].name |
String | Yes |
The name of the secret |
[].value |
String | Yes |
The value of the secret. Note that this is 'write only' - no API reponse will provide this value, it is only used to create/modify secrets. |
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.