Create New Certificate
Request
POST <REST API URL>/certificates?fields=string
Parameter | Description |
---|---|
fields | Optional query parameter. Specifies a subset of the fields to be returned. Use Fields Syntax to define subset. |
Request Body
certificate
{
"id": string,
"aliasIds": [string, ...],
"aliases": [alias, ...],
"url": string,
"disabled": boolean,
"name": string,
"data": string,
"certificateType": string,
"version": int,
"serialNumber": string,
"issuedBy": string,
"issuedTo": string,
"validFrom": calendar,
"validTo": calendar,
"algorithm": string,
"fingerprint": fingerprint
}
Response
Response body
certificate
{
"id": string,
"aliasIds": [string, ...],
"aliases": [alias, ...],
"url": string,
"disabled": boolean,
"name": string,
"data": string,
"certificateType": string,
"version": int,
"serialNumber": string,
"issuedBy": string,
"issuedTo": string,
"validFrom": calendar,
"validTo": calendar,
"algorithm": string,
"fingerprint": fingerprint
}
Last modified: 6 April 2017