OVHcloud Ssl API
The Ssl API from OVHcloud — 5 operation(s) for ssl.
The Ssl API from OVHcloud — 5 operation(s) for ssl.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ovh:ovh-ssl-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Ovh Ssl API
version: '1.0'
contact:
name: OVH
email: api@ml.ovh.net
description: 'Operations tagged Ssl across 2 of this provider''s published API definitions: ovh-v1-ssl-openapi.json, ovh-v1-ssl-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://eu.api.ovh.com/v1
tags:
- name: Ssl
paths:
/ssl:
get:
operationId: getAllSsls
summary: List SSL certificates
description: Returns the identifiers of the SSL certificates of the account.
security:
- oAuth2AuthCode: []
parameters:
- in: query
name: iamTags
description: Filter resources on IAM tags
schema:
type: object
additionalProperties:
type: array
items:
$ref: '#/components/schemas/iam.resource.TagFilter'
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
type: string
x-developer-hub-navigation:
- - Web Cloud
- SSL certificates
- Services@@@10
x-badges:
- color: green
label: Stable production version
x-code-samples:
- lang: python
label: Python
source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu', # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx', # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx', # Consumer Key\n)\n\nresult = client.get(\"/ssl\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
- lang: php
label: PHP
source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx', // Application Key\n 'xxxxxxxxxx', // Application Secret\n 'ovh-eu', // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n 'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/ssl\");\n\nprint_r($result);\n?>"
x-iam-actions:
- name: ssl:apiovh:get
required: true
x-expanded-response: SslCertificateWithIAM
tags:
- Ssl
servers:
- url: https://eu.api.ovh.com/v1
/ssl/{serviceName}:
get:
operationId: getSsl
summary: Get an SSL certificate
description: 'Returns an SSL certificate: status, type (DV, OV or EV), issuing authority, common name, alternative names, validity dates, and the certificate and its issuer chain once issued.'
security:
- oAuth2AuthCode: []
parameters:
- in: path
name: serviceName
description: Service name
required: true
schema:
type: string
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ssl.CertificateWithIAM'
x-developer-hub-navigation:
- - Web Cloud
- SSL certificates
- Services@@@20
x-badges:
- color: green
label: Stable production version
x-code-samples:
- lang: python
label: Python
source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu', # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx', # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx', # Consumer Key\n)\n\nresult = client.get(\"/ssl/{serviceName}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
- lang: php
label: PHP
source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx', // Application Key\n 'xxxxxxxxxx', // Application Secret\n 'ovh-eu', // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n 'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/ssl/{serviceName}\");\n\nprint_r($result);\n?>"
x-iam-actions:
- name: ssl:apiovh:get
required: true
tags:
- Ssl
servers:
- url: https://eu.api.ovh.com/v1
/ssl/{serviceName}/serviceInfos:
get:
operationId: getSslServiceInfos
summary: Get subscription
description: 'Returns the subscription of an SSL certificate: creation and expiration dates, and contacts.'
security:
- oAuth2AuthCode: []
parameters:
- in: path
name: serviceName
description: Service name
required: true
schema:
type: string
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/services.Service'
x-developer-hub-navigation:
- - Web Cloud
- SSL certificates
- Subscription@@@10
x-badges:
- color: green
label: Stable production version
x-code-samples:
- lang: python
label: Python
source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu', # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx', # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx', # Consumer Key\n)\n\nresult = client.get(\"/ssl/{serviceName}/serviceInfos\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
- lang: php
label: PHP
source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx', // Application Key\n 'xxxxxxxxxx', // Application Secret\n 'ovh-eu', // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n 'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/ssl/{serviceName}/serviceInfos\");\n\nprint_r($result);\n?>"
x-iam-actions:
- name: ssl:apiovh:serviceInfos/get
required: true
tags:
- Ssl
put:
operationId: editSslServiceInfos
summary: Update subscription
description: Updates the subscription of an SSL certificate. Certificates are not renewed automatically.
security:
- oAuth2AuthCode: []
parameters:
- in: path
name: serviceName
description: Service name
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/services.Service'
responses:
'200':
description: successful operation
x-developer-hub-navigation:
- - Web Cloud
- SSL certificates
- Subscription@@@20
x-badges:
- color: green
label: Stable production version
x-code-samples:
- lang: python
label: Python
source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu', # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx', # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx', # Consumer Key\n)\n\n# Request body type: services.Service\nresult = client.put(\"/ssl/{serviceName}/serviceInfos\",\n\trenew = None, # Way of handling the renew (type: service.RenewType, nullable)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
- lang: php
label: PHP
source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx', // Application Key\n 'xxxxxxxxxx', // Application Secret\n 'ovh-eu', // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n 'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: services.Service\n$result = $ovh->put(\"/ssl/{serviceName}/serviceInfos\", array(\n\trenew => null, // Way of handling the renew (type: service.RenewType, nullable)\n));\n\nprint_r($result);\n?>"
x-iam-actions:
- name: ssl:apiovh:serviceInfos/edit
required: true
tags:
- Ssl
servers:
- url: https://eu.api.ovh.com/v1
/ssl/{serviceName}/tasks:
get:
operationId: getAllSslTasks
summary: List tasks
description: Returns the identifiers of the tasks of an SSL certificate.
security:
- oAuth2AuthCode: []
parameters:
- in: path
name: serviceName
description: Service name
required: true
schema:
type: string
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
type: integer
x-developer-hub-navigation:
- - Web Cloud
- SSL certificates
- Operations@@@10
x-badges:
- color: green
label: Stable production version
x-code-samples:
- lang: python
label: Python
source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu', # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx', # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx', # Consumer Key\n)\n\nresult = client.get(\"/ssl/{serviceName}/tasks\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
- lang: php
label: PHP
source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx', // Application Key\n 'xxxxxxxxxx', // Application Secret\n 'ovh-eu', // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n 'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/ssl/{serviceName}/tasks\");\n\nprint_r($result);\n?>"
x-iam-actions:
- name: ssl:apiovh:tasks/get
required: true
x-expanded-response: SslOperation
tags:
- Ssl
servers:
- url: https://eu.api.ovh.com/v1
/ssl/{serviceName}/tasks/{taskId}:
get:
operationId: getSslTask
summary: Get a task
description: 'Returns a task of an SSL certificate: function, status (todo, doing, done, error or cancelled), and creation, update and completion dates.'
security:
- oAuth2AuthCode: []
parameters:
- in: path
name: serviceName
description: Service name
required: true
schema:
type: string
- in: path
name: taskId
description: Task ID
required: true
schema:
type: integer
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ssl.Operation'
x-developer-hub-navigation:
- - Web Cloud
- SSL certificates
- Operations@@@20
x-badges:
- color: green
label: Stable production version
x-code-samples:
- lang: python
label: Python
source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu', # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx', # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx', # Consumer Key\n)\n\nresult = client.get(\"/ssl/{serviceName}/tasks/{taskId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
- lang: php
label: PHP
source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx', // Application Key\n 'xxxxxxxxxx', // Application Secret\n 'ovh-eu', // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n 'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/ssl/{serviceName}/tasks/{taskId}\");\n\nprint_r($result);\n?>"
x-iam-actions:
- name: ssl:apiovh:tasks/get
required: true
tags:
- Ssl
servers:
- url: https://eu.api.ovh.com/v1
components:
schemas:
iam.ResourceMetadata:
type: object
description: IAM resource metadata embedded in services models
properties:
displayName:
type:
- string
- 'null'
description: Resource display name
readOnly: true
id:
type: string
description: Unique identifier of the resource
format: uuid
readOnly: true
state:
allOf:
- $ref: '#/components/schemas/iam.ResourceMetadata.StateEnum'
description: Resource state
readOnly: true
tags:
type:
- object
- 'null'
description: 'Resource tags. Tags that were internally computed are prefixed with ovh:'
additionalProperties:
type: string
readOnly: true
urn:
type: string
description: Unique resource name used in policies
readOnly: true
ssl.Operation:
type: object
description: Task on a SSL
properties:
doneDate:
type:
- string
- 'null'
description: Completion date
format: date-time
readOnly: true
function:
allOf:
- $ref: '#/components/schemas/ssl.OperationFunctionEnum'
description: Task function name
readOnly: true
lastUpdate:
type: string
description: Task last update
format: date-time
readOnly: true
startDate:
type: string
description: Task Creation date
format: date-time
readOnly: true
status:
allOf:
- $ref: '#/components/schemas/ssl.OperationStatusEnum'
description: Task status
readOnly: true
taskId:
type: integer
description: Task Id
readOnly: true
service.StateEnum:
type: string
description: service.StateEnum
enum:
- autorenewInProgress
- expired
- inCreation
- ok
- pendingDebt
- unPaid
iam.resource.TagFilter:
type: object
description: Resource tag filter
properties:
operator:
allOf:
- $ref: '#/components/schemas/iam.resource.TagFilter.OperatorEnum'
description: Operator to use in order to filter on the value (defaults to 'EQ')
readOnly: true
value:
type: string
description: Value to use in order to filter tags
readOnly: true
ssl.OperationStatusEnum:
type: string
description: All statuses an SSL operation can be in
enum:
- cancelled
- doing
- done
- error
- todo
service.RenewType:
type: object
description: Map a possible renew for a specific service
properties:
automatic:
type: boolean
description: The service is automatically renewed
deleteAtExpiration:
type: boolean
description: The service will be deleted at expiration
forced:
type: boolean
description: The service forced to be renewed
manualPayment:
type:
- boolean
- 'null'
description: The service needs to be manually renewed and paid
period:
type:
- integer
- 'null'
description: period of renew in month
ssl.CertificateStatusEnum:
type: string
description: All statuses an SSL certificate can be in
enum:
- creating
- error
- ok
- validating
ssl.CertificateTypeEnum:
type: string
description: All types an SSL certificate can be
enum:
- DV
- EV
- OV
ssl.OperationFunctionEnum:
type: string
description: All functions an SSL operation can handle
enum:
- acme_order_certificate
- sectigo_deliver_certificate
- sectigo_deliver_certificate_from_api
- sectigo_order_certificate
services.Service:
type: object
description: Details about a Service
properties:
canDeleteAtExpiration:
type: boolean
description: Indicates that the service can be set up to be deleted at expiration
readOnly: true
contactAdmin:
type: string
readOnly: true
contactBilling:
type: string
readOnly: true
contactTech:
type: string
readOnly: true
creation:
type: string
format: date
readOnly: true
domain:
type: string
readOnly: true
engagedUpTo:
type:
- string
- 'null'
format: date
readOnly: true
expiration:
type: string
format: date
readOnly: true
possibleRenewPeriod:
type:
- array
- 'null'
description: All the possible renew period of your service in month
items:
type: integer
readOnly: true
renew:
allOf:
- $ref: '#/components/schemas/service.RenewType'
description: Way of handling the renew
renewalType:
allOf:
- $ref: '#/components/schemas/service.RenewalTypeEnum'
readOnly: true
serviceId:
type: integer
readOnly: true
status:
allOf:
- $ref: '#/components/schemas/service.StateEnum'
readOnly: true
ssl.CertificateAuthorityEnum:
type: string
description: All authorities from which an SSL certificate can be issued
enum:
- comodo
- sectigo
iam.ResourceMetadata.StateEnum:
type: string
description: Resource state
enum:
- EXPIRED
- IN_CREATION
- OK
- SUSPENDED
service.RenewalTypeEnum:
type: string
description: Detailed renewal type of a service
enum:
- automaticForcedProduct
- automaticV2012
- automaticV2014
- automaticV2016
- manual
- oneShot
- option
ssl.CertificateWithIAM:
type: object
description: Certificate of an SSL customer
properties:
authority:
allOf:
- $ref: '#/components/schemas/ssl.CertificateAuthorityEnum'
description: The authority your certificate is issued from
readOnly: true
certificate:
type:
- string
- 'null'
description: Your certificate
readOnly: true
chain:
type:
- string
- 'null'
description: The issuer chain of your certificate
readOnly: true
commonName:
type: string
description: The CN field in your certificate
readOnly: true
csr:
type: string
description: The CSR used to create your certificate
readOnly: true
iam:
allOf:
- $ref: '#/components/schemas/iam.ResourceMetadata'
description: IAM resource metadata
readOnly: true
serviceName:
type: string
description: The internal name of your certificate offer
readOnly: true
status:
allOf:
- $ref: '#/components/schemas/ssl.CertificateStatusEnum'
description: Current status of your certificate
readOnly: true
subjectAltName:
type: array
description: The SAN field for multidomain certificate
items:
type: string
readOnly: true
type:
allOf:
- $ref: '#/components/schemas/ssl.CertificateTypeEnum'
description: Type of your certificate
readOnly: true
validityEnd:
type:
- string
- 'null'
description: Your certificate is invalid from this date
format: date-time
readOnly: true
validityStart:
type:
- string
- 'null'
description: Your certificate is valid from this date
format: date-time
readOnly: true
iam.resource.TagFilter.OperatorEnum:
type: string
description: Operator that can be used in order to filter resources tags
enum:
- EQ
- EXISTS
- ILIKE
- LIKE
- NEQ
- NEXISTS
securitySchemes:
oAuth2AuthCode:
type: oauth2
description: Oauth2
x-client-id: 1bb9c7df371741c0
x-client-secret: a5b4de870aca620d10fbf63cd18d205b
flows:
authorizationCode:
authorizationUrl: https://auth.eu.ovhcloud.com/oauth2/authorize
tokenUrl: https://auth.eu.ovhcloud.com/oauth2/token
scopes:
account/all: Manage your account
all: Manage your whole account and all your services
services/all: Manage your services lifecycle and billing
x-refined-from:
- ovh-v1-ssl-openapi.json
- ovh-v1-ssl-openapi.yml