Certificate Get All
V6.0.10
The Certificate Get All API gets all SSL/TLS certificates in a subscription.
Authorization
An access token must be acquired to make requests to the API. Please follow the instructions in the link below to acquire the token.
Subscription Id
Each request must include the Subscription Id of the user’s subscription in the RCL Portal as a parameter in the request url. You can acquire the Subscription Id in the Subscription Details section in the RCL Portal.
- Scroll down and copy the ‘Subscription Id’
Base URI
The base URI for the RCL Core API is :
https://rclapi.azure-api.net
API Endpoint and Method
The endpoint for the Certificate Get All API is :
/production/ssl/core/v1/certificate/subscription/{subscriptionid}/get/all
where the placeholder : {subscriptionid} is the Subscription Id of the user’s subscription in the RCL Portal.
A GET
request must be made to the endpoint.
Example Request
GET /production/ssl/core/v1/certificate/subscription/subscr9836/get/all HTTP/1.1
Host: rclapi.azure-api.net
Authorization: Bearer eyJ0eXAiOiJKV1QiL..u9A3-g
Response
200 Ok
This represents success in making an authorized request to the RCL Core API. An array of CertificateInfo to represent the certificates is provided in the body of the response in JSON format.
Example Response Body
[
{
"certificateName": "www.shopeneur.com",
"issueDate": "2022-06-01T19:34:06.3563456",
"expiryDate": "2022-08-30T19:34:06.356435"
}
]
401 Unauthorized
The authorization failed for the request. Check the body of the response for additional error details in text/plain
format.
404 Not Found
The certificate was not found.
400 Bad Request
An error occurred while processing the request. Check the body of the response for additional error details in text/plain
format.