DELETE licenseSession
Use this request when the user has finished using the feature.
The licensed application must manage the session handle ID received from the POST License request for each license session.
Type
DELETE
URI
<SCC_URL>/licenseSessions/{licenseSessionId}
The <SCC_URL> represents the Cloud Connect URL sent by Directory Service (also called, YPS) in response to the POST registration request.
Example URI
https://fra01-he02.trial.sentinelcloud.com/scc/licenseSessions/ rT9LfprcD%2FI6fwBwn7L9nK3mNAall25C%0D%0AvZAizsyn%2BVdJIT8GoRsCvAZrty
URI Parameter
licenseSessionId (mandatory)
NOTE The licenseSessionId parameter passed to a web service must be URL encoded.
Request Body
None
Response Body
In case of success:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<licenseSession>
<status>Ok</status>
</licenseSession>
In case of error:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<error>
<status>Fail</status>
<errorCode>error_code</errorCode>
<errorDescription>error_message</errorDescription>
</error>
Response Schema
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="licenseSession">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="status"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Error Codes
Error Code | Description | Status Code |
---|---|---|
2013 |
license sessionId is invalid |
400 Bad request |
2047 | Requests timed out as too many requests are received from the same user. Retry after some time. | 429 Too Many Requests |
See Also: Common Error Codes