Verify company
Companies
PUT verify company(admin)
Endpoint
PUT /api/v1/companies/:id/verify
Request
Route
PUT /api/v1/companies/41/verify
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTciLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjQsImV4cCI6MTc2NjIxODM2NCwianRpIjoiMzQ4ZjhkZDAtODkzMy00YjY2LThmNzgtZWQ0ZDMzZmE2YjFlIn0.FlksnIQo5ZeI-1n8TPx-uCcada_V6YNKSZQ8SLMtl7k
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/"d6dcf903db0105182e8ae0e326aed131"
cache-control: max-age=0, private, must-revalidate
x-request-id: a5479a1e-55a8-495d-bec7-9b25cb31e1aa
x-runtime: 0.009977
content-length: 187
Body
{
"company": {
"id": 41,
"address": "608 Malorie Turnpike, West Elenore, OH Z8 3NJ",
"country": "GBR",
"currency": "GBP",
"license_number": "6930866941",
"name": "Volkman-Nikolaus",
"state": "verified"
}
}