title | excerpt | updated |
---|---|---|
Manage services |
Manage the life cycle of your OVH Service after delivery |
2020-01-02 |
We will describe part of the services lifecycle at OVHcloud through the API routes /service and /services.
The /service API route consists of actions common to all types of services at OVHcloud:
- Invoices
- Lifecycle management
- Related contacts
- API entry point for possible technical management
- Being connected on OVHcloud API{.external}.
- Having created your credentials for OVHcloud API{.external}.
- Having a customer account wih Reseller Tag (contact your sales representative for eligibility if applicable).
- service : Core entity contractualised to OVHcloud
- serviceId : OVHcloud service unique ID
[!api]
@api {v1} /service POST /service/{serviceId}/suspend
The call changes service status into suspend :
- state : expired
The invoice is then blocked.
Where applicable:
[!api]
@api {v1} /service POST /service/{serviceId}/reopen
The call will reopen the service and issue the invoice for the period between the suspension date and the reopen date.
Finally:
[!api]
@api {v1} /service POST /service/{serviceId}/terminate
The call will delete the service and data and issue the invoice for the period between the date of suspension and the date of deletion.
Join our community of users on https://community.ovh.com/en/.