Companies

Unfreeze company

POST unfreeze company(admin)

Endpoint

POST /api/v1/companies/:id/unfreeze

Request

Route

POST /api/v1/companies/36/unfreeze

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MDgsImV4cCI6MTc0NTA1NjkwOCwianRpIjoiNzQwMzZmMjgtMjdhNi00MzQ3LWFkOGItODg5ZGM5Yzc4ODNmIn0.YWBk5VErbS61xirpdLl2Ytl4FVAeKHAnNg0a02dlhPc
Host: example.org
Cookie: 

Body

{
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"b2998d3c08c2c9182c0f6c4c95fcdab7"
cache-control: max-age=0, private, must-revalidate
x-request-id: 918eee60-b90d-4320-9a88-691ed650b792
x-runtime: 0.007847
content-length: 65

Body

{
  "message": "Company Doyle, Fisher and Keebler has been unfrozen"
}