Retrieve All Distributions
Prerequisite: Only contract administrators, owners, and users with accessAndManageCdn
privilege can create and manage CDN distributions via the API. You can also set user privileges in the DCD. For more information, see Set User Privileges.
To retrieve all the CDN distributions under a contract, perform a GET
request.
Endpoint
Use the following endpoint to retrieve all CDN distributions for a contract: https://cdn.de-fra.ionos.com/distributions
.
Request
To make authenticated requests to the API, the following fields are mandatory in the request header:
Header Parameters | Required | Type | Description |
---|---|---|---|
| yes | string | The Bearer token enables requests to authenticate using a JSON Web Token (JWT). From the DCD, Generate authentication token. |
| yes | string | Set this to |
Response
200 Successful operation
Result: All the existing CDN distributions and their details are successfully obtained for your contract.
Last updated