Skip to content

Commit 8ae961c

Browse files
authored
Update use-bucket-as-origin.mdx
1 parent d70f6cd commit 8ae961c

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

src/content/docs/en/pages/store-journey/storage/use-bucket-as-origin.mdx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,19 @@ curl --request POST \
225225
4. Run the following `POST` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/products/guides/personal-tokens/) and `<edge_application_id>` with the ID of the edge application you created:
226226

227227
```bash
228-
curl --location 'https://api.azionapi.net/domains' \
229-
--header 'Accept: application/json; version=3' \
230-
--header 'Authorization: Token [TOKEN VALUE]' \
231-
--header 'Content-Type: application/json' \
228+
curl --request POST \
229+
--url https://api.azion.com/v4/workspace/workloads \
230+
--header 'Accept: application/json' \
231+
--header 'Authorization: [TOKEN VALUE]' \
232+
--header 'Content-Type: application/json' \
232233
--data '{
233-
"name": "edge storage domain",
234-
"cname_access_only": false,
235-
"digital_certificate_id": null,
236-
"edge_application_id": <edge_application_id>
234+
"name": "edge storage domain"
235+
"domains": [
236+
{
237+
"domain": "string",
238+
"allow_access": true
239+
}
240+
"edge_application: <edge_application_id>
237241
}'
238242
```
239243

0 commit comments

Comments
 (0)