Skip to main content

Version: 19.05 (EOL)

DELETE Service Definition

Irrevocably delete a service definition and all its parameters.

danger

Use this operation with caution. It is not reversible.

Request

HTTP request

Delete a service by service ID.

https://<JM_SERVER>/manager/secure/rest/service-definitions/v1/<SERVICE_ID>

Delete a service by service name and version.

https://<JM_SERVER>/manager/secure/rest/service-definitions/v1/<SERVICE_NAME>/<VERSION_NUMBER>

Parameters

This request takes no parameters.

Request body

Do not supply a request body for this operation.

Example

Delete a service by service ID.

DELETE https://transact.maguire.com/manager/secure/rest/service-definitions/v1/215

Delete a service by service name and version.

DELETE https://transact.maguire.com/manager/secure/rest/service-definitions/v1/My Random Tracking Number/3

Response

If successful, this operation returns a response with a HTTP 200 OK status code.

Example

The response doesn't contain any additional information. If the HTTP status code is 200 OK, the service definition was deleted successfully.