- URL:
- https://<root>/services/exists
- Methods:
POST- Version Introduced:
- 12.0
Description
The exists operation checks if a folder or service already exists on the server.
Request parameters
| Parameter | Details |
|---|---|
| The name of the service. Example |
| The type of the service. This will always be |
(Required) | The response format. The default response format is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample POST request for the exists operation:
POST /<context>/admin/services/exists HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
serviceName=Test&type=VideoServer&f=jsonJSON Response syntax
{"exists": <true | false>}JSON Response example
{"exists": true}