get: tags: - Domains security: - ApiKeyAuth: [] summary: Get deleted domains description: Returns list of the domains. responses: '200': description: List of the domains content: application/json: schema: type: array items: $ref: ../schemas/Domain.yaml '400': $ref: ../responses/BadRequest.yaml '401': $ref: ../responses/Unauthorized.yaml '402': $ref: ../responses/PaymentRequired.yaml '500': $ref: ../responses/InternalError.yaml x-code-samples: - lang: PHP source: >- $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://example.com/admin_api/v1/domains/deleted'); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Api-Key: your-api-key')); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); echo curl_exec($ch);