Saltar al contenido principal

Delete Servide Type

Request Example

curl -X DELETE "https://openapi.onlive.site/api/v1/service-type/{serviceTypeId}" \
-H "Content-Type: application/json" \
-H "Authorization: ONLIVESITE Credential:ONLIVEAccessKeyId, Signature=CalculatedSignature"

Response Example

HTTP Status 200

The HTTP status code 200 indicates that the request was successful. The server returns a JSON response containing only the ID of the deleted entity.

{
"id": "123e4567-e89b-12d3-a456-426614174000"
}

Other HTTP Status Codes

  • 404 Not Found: Service type ID does not exist.
  • 403 Forbidden: User does not have permission to access this service type.
  • 400 Bad Request: Invalid service type ID format.