POST
/
endpoints
/
stop_endpoint
curl --request POST \
  --url https://api.getflex.ai/v1/endpoints/stop_endpoint \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "endpoint_id": "<string>"
}'
{
  "endpoint_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
endpoint_id
string

Response

200
application/json
Successful response
endpoint_id
string