Skip to main content
PATCH
/
api
/
v1
/
emnify
/
endpoint
/
{endpointId}
/
status
Enable or disable endpoint
curl --request PATCH \
  --url https://api.raul.ugps.io/api/v1/emnify/endpoint/{endpointId}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "error": "<string>",
  "message": "<string>",
  "details": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

endpointId
number
required

Emnify endpoint ID

Body

application/json
enabled
boolean
required

Whether to enable (true) or disable (false) the endpoint

Response

Status changed successfully