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.eyJzdWIiOiIxNDMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDg1MTY0OTcsImV4cCI6MTc1MTEwODQ5NywianRpIjoiNWViYWY4YjQtMGUxZS00MzA5LTk4ZTUtMDBhMDMwMjFjNzZiIn0.z_5K6SkuPXYuH3GVAPR0jObzWLrfvwaehU1BWdQAXQ8
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/"5db5e461282f32e1f6deb5e03013ef8d"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7ecca24d-d39e-4dae-b1bb-f3b1d02e2c74
x-runtime: 0.006337
content-length: 67

Body

{
  "message": "Company Huels, Cummings and Weimann has been unfrozen"
}