Companies

Verify company

PUT verify company(admin)

Endpoint

PUT /api/v1/companies/:id/verify

Request

Route

PUT /api/v1/companies/38/verify

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDciLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MDgsImV4cCI6MTc0NTA1NjkwOCwianRpIjoiZTQ5MDgwMDgtMTA1ZC00NjMwLTkzNDUtMDMxZDZlMzE2ZmUxIn0.ERLevVzq8phJTqTjWvD6OBEGUizOR3g0xagYVr5qXgo
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/"32fc523f317236ff686fed0135590d18"
cache-control: max-age=0, private, must-revalidate
x-request-id: 48e2ac7c-1fb0-4a6b-858b-16415dafc008
x-runtime: 0.008608
content-length: 152

Body

{
  "company": {
    "id": 38,
    "address": "Suite 989 3874 Alec Inlet, Farrellfurt, TX Z2 1AZ",
    "license_number": "3535363930",
    "name": "Bayer-Will",
    "state": "verified"
  }
}