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.eyJzdWIiOiIxNDMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzUsImV4cCI6MTc2MzU0MjQzNSwianRpIjoiMGUwMjRkMDYtZWE3Zi00NTUxLTk1N2MtYTc5NjJkOGM3NjdhIn0.GRVcElH3zT1rMbIORLAXMtDxgC1btK5XR3x4DsIRp6s
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/"ac05703e2bdee48a6818e3514e66c19b"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1ee3c6e0-49a1-48a2-9104-cd8a12d31fcb
x-runtime: 0.005874
content-length: 63

Body

{
  "message": "Company Ullrich, Mohr and Huels has been unfrozen"
}