Retrieve All Distributions
Last updated
Last updated
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.
Use the following endpoint to retrieve all CDN distributions for a contract: https://cdn.de-fra.ionos.com/distributions
.
To make authenticated requests to the API, the following fields are mandatory in the request header:
Header Parameters | Required | Type | Description |
---|---|---|---|
200 Successful operation
Result: All the existing CDN distributions and their details are successfully obtained for your contract.
Authorization
yes
string
The Bearer token enables requests to authenticate using a JSON Web Token (JWT). From the DCD, Generate authentication token.
Content-Type
yes
string
Set this to application/json
.