Delete a Geofencing event subscription
DELETE/devicelocation/subscriptions/{subscriptionId}
Delete a given Geofencing subscription.
Path Parameters
Delete a Geofencing event subscription
curl https://api.example.com/camara/devicelocation/subscriptions/$SUBSCRIPTION_ID \
-X DELETE \
-H "Authorization: Bearer $CAMARA_BEARER_TOKEN"{
"id": "qs15-h556-rt89-1298"
}{
"status": 400,
"code": "INVALID_ARGUMENT",
"message": "Client specified an invalid argument, request body or query param."
}{
"status": 400,
"code": "INVALID_ARGUMENT",
"message": "Expected property is missing: subscriptionId"
}{
"status": 401,
"code": "UNAUTHENTICATED",
"message": "Request not authenticated due to missing, invalid, or expired credentials. A new authentication is required."
}{
"status": 403,
"code": "PERMISSION_DENIED",
"message": "Client does not have sufficient permissions to perform this action."
}{
"status": 404,
"code": "NOT_FOUND",
"message": "The specified resource is not found."
}Returns Examples
{
"id": "qs15-h556-rt89-1298"
}{
"status": 400,
"code": "INVALID_ARGUMENT",
"message": "Client specified an invalid argument, request body or query param."
}{
"status": 400,
"code": "INVALID_ARGUMENT",
"message": "Expected property is missing: subscriptionId"
}{
"status": 401,
"code": "UNAUTHENTICATED",
"message": "Request not authenticated due to missing, invalid, or expired credentials. A new authentication is required."
}{
"status": 403,
"code": "PERMISSION_DENIED",
"message": "Client does not have sufficient permissions to perform this action."
}{
"status": 404,
"code": "NOT_FOUND",
"message": "The specified resource is not found."
}