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:
Authorization
yes
string
Content-Type
yes
string
Set this to application/json
.
Response
200 Successful operation
Result: All the existing CDN distributions and their details are successfully obtained for your contract.
Last updated