CertificatesApi

All URIs are relative to https://api.ionos.com

Method
HTTP request
Description

DELETE /certificatemanager/certificates/{certificateId}

Delete a Certificate by ID

GET /certificatemanager/certificates

Get Certificates

GET /certificatemanager/certificates/{certificateId}

Get a Certificate by ID

PATCH /certificatemanager/certificates/{certificateId}

Update a Certificate Name by ID

POST /certificatemanager/certificates

Add a New Certificate

certificatesDelete

certificatesDelete(certificateId)

Delete a Certificate by ID

Deletes a certificate specified by its ID.

Examples

const ionoscloud = require('@ionos-cloud/sdk-nodejs-cert-manager');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.CertificatesApi(config);
// Delete a Certificate by ID
api_instance
  .certificatesDelete({
    certificateId: certificateId_example
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

Parameters

Name
Type
Description
Notes

certificateId

string

[default to undefined]

Return type

nil (empty response body)

Authorization

basicAuth, tokenAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: Not defined

certificatesGet

certificatesGet(opts)

Get Certificates

Retrieves all available certificates.

Examples

Parameters

Name
Type
Description
Notes

offset

string

'Limit' and 'Offset' are optional; you can use these filter parameters to retrieve only part of the results obtained by a request. Offset is the first element (from the complete list of elements) to be included in the response.

[optional][default to undefined]

limit

string

'Limit' and 'Offset' are optional; you can use these filter parameters to retrieve only part of the results of a query. If both 'Offset' and 'Limit'are specified, the offset lines are skipped before counting the returned limit lines.

[optional][default to undefined]

Return type

CertificateCollectionDto

Authorization

basicAuth, tokenAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

certificatesGetById

certificatesGetById(certificateId)

Get a Certificate by ID

Retrieves a certificate specified by its ID.

Examples

Parameters

Name
Type
Description
Notes

certificateId

string

[default to undefined]

Return type

CertificateDto

Authorization

basicAuth, tokenAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

certificatesPatch

certificatesPatch(certificateId, certificatePatchDto)

Update a Certificate Name by ID

Updates the name of the specified certificate.

Examples

Parameters

Name
Type
Description
Notes

certificateId

string

[default to undefined]

certificatePatchDto

Return type

CertificateDto

Authorization

basicAuth, tokenAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

certificatesPost

certificatesPost(certificatePostDto)

Add a New Certificate

Adds a new PEM (Privacy Enhanced Mail) file that is used to store SSL certificates and their associated private keys.

Examples

Parameters

Name
Type
Description
Notes

certificatePostDto

Return type

CertificateDto

Authorization

basicAuth, tokenAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

Last updated