PUT
/
api
/
v1
/
contacts
/
{id}
/
block
Block Contact
curl --request PUT \
  --url http://localhost:8080/api/v1/contacts/{id}/block \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enabled": true
}'
{
  "status": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Path Parameters

id
string
required

Body

application/json

Block status update

The body is of type object.

Response

200
application/json

Contact blocked successfully

The response is of type object.