Auth Templates

Get a auth template(admin)

GET auth template(admin)

Endpoint

GET /api/v1/auth_templates/:id

Request

Route

GET /api/v1/auth_templates/3

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MzYyNjM1OCwiZXhwIjoxNzY2MjE4MzU4LCJqdGkiOiI5OWE0MTg2Mi1mYWRiLTQ1YWUtODBiMC1hY2UwNDU3MWIyYmMifQ.oRGPl8p1pOF36ZzcINPYRPP3vnYcbcKCPHYxrBftn1Q
Host: example.org
Cookie: 

Query Parameters

{}=

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/"afa218853a27d55d8aa9131902bc322f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 623e1ca0-b977-47f7-8480-227c69819c3b
x-runtime: 0.005852
content-length: 405

Body

{
  "auth_template": {
    "id": 3,
    "content": "Optio earum itaque. Tempore dolores excepturi. Reiciendis ut quasi.",
    "image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "name": "autem",
    "operator_full_name": "Elmer Quigley",
    "operator_image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "operator_position": "Healthcare Engineer",
    "usage": [
      [
        "login",
        "company_details"
      ]
    ]
  }
}