Certificates
Retrieve a list of all the RAS Certificates.
Query parameters
SiteIdinteger · int32Optional
Site ID of which the Certificates will be retrieved (optional)
NamestringOptional
Filter the result by certificate name (optional)
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/Certificates HTTP/1.1
Host:
Accept: */*
[
{
"id": 1,
"adminCreate": "text",
"adminLastMod": "text",
"timeCreate": "2025-07-05T09:30:10.114Z",
"timeLastMod": "2025-07-05T09:30:10.114Z",
"status": [
"0 = Valid",
"1 = Expiring",
"2 = Expired",
"3 = InProgress",
"4 = Revoked",
"5 = Issuing",
"6 = IssuingFailed",
"7 = Renewing",
"8 = RenewingFailed",
"9 = Revoking",
"10 = RevokingFailed"
],
"publicKey": "text",
"expirationDate": "2025-07-05T09:30:10.114Z",
"keySize": [
"0 = KeySize1024",
"1 = KeySize2048",
"2 = KeySize4096",
"3 = KeySize3072",
"4 = KeySize521",
"255 = KeySizeUnknown"
],
"commonName": "text",
"name": "text",
"siteId": 1,
"enabled": true,
"type": [
"0 = SelfSigned",
"1 = Request",
"2 = Imported",
"3 = LetsEncrypt"
],
"usage": [
"0 = None",
"2 = Gateway",
"4 = HALB"
],
"intermediate": "text",
"request": "text",
"description": "text",
"alternateNames": "text"
}
]
Retrieve a specific RAS Certificate.
Path parameters
idinteger · int32Required
ID of the Certificate to be retrieved
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/Certificates/{id} HTTP/1.1
Host:
Accept: */*
{
"id": 1,
"adminCreate": "text",
"adminLastMod": "text",
"timeCreate": "2025-07-05T09:30:10.114Z",
"timeLastMod": "2025-07-05T09:30:10.114Z",
"status": [
"0 = Valid",
"1 = Expiring",
"2 = Expired",
"3 = InProgress",
"4 = Revoked",
"5 = Issuing",
"6 = IssuingFailed",
"7 = Renewing",
"8 = RenewingFailed",
"9 = Revoking",
"10 = RevokingFailed"
],
"publicKey": "text",
"expirationDate": "2025-07-05T09:30:10.114Z",
"keySize": [
"0 = KeySize1024",
"1 = KeySize2048",
"2 = KeySize4096",
"3 = KeySize3072",
"4 = KeySize521",
"255 = KeySizeUnknown"
],
"commonName": "text",
"name": "text",
"siteId": 1,
"enabled": true,
"type": [
"0 = SelfSigned",
"1 = Request",
"2 = Imported",
"3 = LetsEncrypt"
],
"usage": [
"0 = None",
"2 = Gateway",
"4 = HALB"
],
"intermediate": "text",
"request": "text",
"description": "text",
"alternateNames": "text"
}
Modify the properties of a RAS Certificate.
Path parameters
idinteger · int32Required
ID of the Certificate to be updated
Body
Update a certificate
namestring | nullableOptional
The new name of the target Certificate.
descriptionstring | nullableOptional
A user-defined Certificate description.
usagestring[Flag] · enumOptionalPossible values:
Certificate Usage Certificate Usage
enabledboolean | nullableOptional
Enable or disable the specified Certificate in a site.
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put
PUT /api/Certificates/{id} HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 97
{
"name": "text",
"description": "text",
"usage": [
"0 = None",
"2 = Gateway",
"4 = HALB"
],
"enabled": true
}
No content
Delete a RAS Certificate.
Path parameters
idinteger · int32Required
ID of the Certificate to be deleted
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/Certificates/{id} HTTP/1.1
Host:
Accept: */*
No content
Last updated
Was this helpful?