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.eyJzdWIiOiIxNDMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzIsImV4cCI6MTc1NTg1ODE3MiwianRpIjoiMGY5ZDA2MWQtMTM1ZS00NzE1LTgzZTAtMjk3NzBhOGNiMjhjIn0.0hNFP8tdbrMNOzEbar0wK3-kpyJ9ZQCKiD74qo0ztg0
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/"7e51fa19e32f2119be945a1c8794c33c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 34082a3a-d12d-4b26-a804-45a8dfec5744
x-runtime: 0.008245
content-length: 51

Body

{
  "message": "Company Spencer Inc has been unfrozen"
}