POST
/
v1
/
Inbound
/
{inboundId}
/
Active
curl --request POST \
  --url https://api.nlpearl.ai/v1/Inbound/{inboundId}/Active \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isActive": true
}'
123

Authorizations

Authorization
string
header
required

Specify the authorization token.

For more information, check out the Authorization Guide.

Path Parameters

inboundId
string
required

The unique identifier of the inbound.

Body

The request containing the desired active state.

Defines the request structure for setting the active status of an entity.

isActive
boolean
required

A boolean value that specifies the new active status of the entity.

True activates the entity, while false deactivates it.

Response

200
text/plain
The active state of the inbound.

Here is the activity status

1 - Running

2 - Paused

3 - Suspended

10 - TemporaryMaintenance