API for Services
Cancels a service.
Parameters: | name (String) – Name of the service. Service names are 1-64 characters A-Z, a-z, 0-9, -, . and _. Ensure this value has at most 64 characters. |
---|---|
Returns: | A dictionary as described in job.status(). |
Raises : | May raise ApiErrorAlreadyInProgress if the service is pending cancellation. |
A cancellation invoice may be generated.
SSL Certificates are not supported and can’t be cancelled with this method.
Describes the service returning a list of dictionaries.
Parameters: | name (String) – Name of the service. Service names are 1-64 characters A-Z, a-z, 0-9, -, . and _. Ensure this value has at most 64 characters. |
---|---|
Returns: | A dictionary with the following keys:
|
List all the services for an account.
Parameters: |
|
---|---|
Returns: | a list of dictionaries where each dictionary is as described in service.info(). |
Updates the service nickname.
Parameters: |
|
---|---|
Returns: | a dictionary with the following keys:
|
This enforces that the nickname must be unique for all the services of the same account.
The nickname must be made up of the characters [A - Z a - z 0 - 9 _ . - ‘]. Any characters not in this range will be deleted. It must be 255 characters or fewer - any extra will be truncated. Any leading or trailing whitespace will be removed.
It must be unique for the services in the account - if not it returns ApiErrorNotUnique.
The nickname set is returned.