AutoCertificate
Auto certificates create new certificates based on a certificate provider.
This tag groups all operations for autocertificate.
This endpoint enables retrieving all AutoCertificate using pagination and optional filters.
The first element (of the total list of elements) to include in the response. Use together with limit for pagination.
0
Example: 0
The maximum number of elements to return. Use together with offset for pagination.
100
Example: 100
Filter by the common name (DNS).
www.example.com
GET /auto-certificates HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "b57af488-a991-522a-9fea-bbca2e2d097f",
"type": "collection",
"href": "/auto-certificates",
"items": [
{
"id": "f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"type": "autocertificate",
"href": "/auto-certificates/f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141"
},
"properties": {
"provider": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"commonName": "www.example.com",
"keyAlgorithm": "rsa4096",
"name": "My Auto renewed certificate",
"subjectAlternativeNames": [
"app.example.com"
]
}
}
],
"offset": 0,
"limit": 42,
"_links": {
"prev": "http://PREVIOUS-PAGE-URI",
"self": "http://THIS-PAGE-URI",
"next": "http://NEXT-PAGE-URI"
}
}
Creates a new AutoCertificate.
The full AutoCertificate needs to be provided to create the object. Optional data will be filled with defaults or left empty.
Metadata
POST /auto-certificates HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 219
{
"metadata": {},
"properties": {
"provider": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"commonName": "www.example.com",
"keyAlgorithm": "rsa4096",
"name": "My Auto renewed certificate",
"subjectAlternativeNames": [
"app.example.com"
]
}
}
{
"id": "f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"type": "autocertificate",
"href": "/auto-certificates/f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141"
},
"properties": {
"provider": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"commonName": "www.example.com",
"keyAlgorithm": "rsa4096",
"name": "My Auto renewed certificate",
"subjectAlternativeNames": [
"app.example.com"
]
}
}
Returns the AutoCertificate by ID.
The ID (UUID) of the AutoCertificate.
f88467f8-a2d6-5871-83b9-e10f23d0a48a
GET /auto-certificates/{autoCertificateId} HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"type": "autocertificate",
"href": "/auto-certificates/f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141"
},
"properties": {
"provider": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"commonName": "www.example.com",
"keyAlgorithm": "rsa4096",
"name": "My Auto renewed certificate",
"subjectAlternativeNames": [
"app.example.com"
]
}
}
Deletes the specified AutoCertificate.
The ID (UUID) of the AutoCertificate.
f88467f8-a2d6-5871-83b9-e10f23d0a48a
DELETE /auto-certificates/{autoCertificateId} HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
No content
Changes AutoCertificate with the provided ID. Values provides will replace the existing data.
The ID (UUID) of the AutoCertificate.
f88467f8-a2d6-5871-83b9-e10f23d0a48a
Metadata
PATCH /auto-certificates/{autoCertificateId} HTTP/1.1
Host: certificate-manager.de-fra.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"metadata": {},
"properties": {
"name": "My name"
}
}
{
"id": "f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"type": "autocertificate",
"href": "/auto-certificates/f88467f8-a2d6-5871-83b9-e10f23d0a48a",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE",
"message": "Issue in progress.",
"lastIssuedCertificate": "cbee81a3-9389-57ba-bc50-393adcfca141"
},
"properties": {
"provider": "b471cd03-ef51-52c5-91a5-49195b0a04d4",
"commonName": "www.example.com",
"keyAlgorithm": "rsa4096",
"name": "My Auto renewed certificate",
"subjectAlternativeNames": [
"app.example.com"
]
}
}
Was this helpful?