Verify company
Companies
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.eyJzdWIiOiIxNDciLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzIsImV4cCI6MTc1NTg1ODE3MiwianRpIjoiZDgxYzYwMTEtNjIyYy00ZmJkLWFlZTYtYWNhOGJiNDNjMTgzIn0.PkH5M89p5VK6OJOmJ8fOSdDhXjwXAw2TEtqQtvb92dg
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/"6a208c1d1b0ab43510cf355374a2e6f2"
cache-control: max-age=0, private, must-revalidate
x-request-id: 773b7bba-6079-4d7c-addd-1be32f398c76
x-runtime: 0.010428
content-length: 155
Body
{
"company": {
"id": 38,
"address": "Apt. 824 9868 Bradtke Locks, Douglasston, OR WE8X 6AA",
"license_number": "9342014717",
"name": "Johns LLC",
"state": "verified"
}
}