{
"certificates": [
{
"id": "5a7805061c76ada191ed06f989cc3dac",
"priority": 2
},
{
"id": "9a7806061c88ada191ed06f989cc3dac",
"priority": 1
}
]
}
curl --location --request PUT 'https://api.cloudflare.com/client/v4/zones//custom_certificates/prioritize' \
--header 'Content-Type: application/json' \
--data-raw '{
"certificates": [
{
"id": "5a7805061c76ada191ed06f989cc3dac",
"priority": 2
},
{
"id": "9a7806061c88ada191ed06f989cc3dac",
"priority": 1
}
]
}'
{
"errors": [],
"messages": [],
"result": [
{
"bundle_method": "ubiquitous",
"expires_on": "2016-01-01T05:20:00Z",
"geo_restrictions": {
"label": "us"
},
"hosts": [
"example.com"
],
"id": "2458ce5a-0c35-4c7f-82c7-8e9487d3ff60",
"issuer": "GlobalSign",
"keyless_server": {
"created_on": "2014-01-01T05:20:00Z",
"enabled": false,
"host": "example.com",
"id": "4d2844d2ce78891c34d0b6c0535a291e",
"modified_on": "2014-01-01T05:20:00Z",
"name": "example.com Keyless SSL",
"permissions": [
"#ssl:read",
"#ssl:edit"
],
"port": 24008,
"status": "active"
},
"modified_on": "2014-01-01T05:20:00Z",
"policy": "(country: US) or (region: EU)",
"priority": 1,
"signature": "SHA256WithRSA",
"status": "active",
"uploaded_on": "2014-01-01T05:20:00Z",
"zone_id": "023e105f4ecef8ad9ca31a8372d0c353"
}
],
"success": true,
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}