Verify company
Companies
PUT verify company(admin)
Endpoint
PUT /api/v1/companies/:id/verify
Request
Route
PUT /api/v1/companies/33/verify
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMzYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTIsImV4cCI6MTc0MDE0MzU1MiwianRpIjoiMjMyN2NhZTUtZjRmNi00NDRlLTg4NjYtZmU4YTQ5YjYwNWE4In0.ntVKJbzgkEq7cER_DrfiVCeFmrX-bpJMUDDCB16bUms
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/"6266d9881cbc100948c3876fc22d3171"
cache-control: max-age=0, private, must-revalidate
x-request-id: 08bfe2c8-7b21-4021-a0a6-694788187c4c
x-runtime: 0.020501
content-length: 162
Body
{
"company": {
"id": 33,
"address": "Apt. 734 68912 King Plaza, Guillermotown, FL IF5 3JA",
"license_number": "2988731218",
"name": "Murray-Stiedemann",
"state": "verified"
}
}