Companies

Unfreeze company

POST unfreeze company(admin)

Endpoint

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

Request

Route

POST /api/v1/companies/39/unfreeze

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjQsImV4cCI6MTc2NjIxODM2NCwianRpIjoiMWNjNmIwNWEtNzk3Yy00NWRmLThiMDgtZmEzZWU1YWY1ZGVkIn0.nztATmWFPj85g6r9mSkhR1RUkJvdZ0ne4gyiibbNlA8
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/"9aec543c6e1df8c64beaed9a98607253"
cache-control: max-age=0, private, must-revalidate
x-request-id: c695e005-85df-4fc3-a586-bc1c07233b4a
x-runtime: 0.005977
content-length: 53

Body

{
  "message": "Company Abbott-Herzog has been unfrozen"
}