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.eyJzdWIiOiIxMiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0ODUxNjQ5MiwiZXhwIjoxNzUxMTA4NDkyLCJqdGkiOiJjY2Y4MThlMy0wYWU1LTQ0ZGMtOTFhOS1jNmY3MTliMDEzYzQifQ.RfuBIzTXefPwEG-aBHmt5OwmJVgmzLSYVAr8PG7dc9s
Host: example.org
Cookie: 

Query Parameters

{}=

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/"07c122dddd53ad318387909f6f963420"
cache-control: max-age=0, private, must-revalidate
x-request-id: 671138f2-0b2f-4762-9155-086ea4cf66e1
x-runtime: 0.006317
content-length: 414

Body

{
  "auth_template": {
    "id": 3,
    "content": "Quae veritatis eum. Architecto cum sed. Hic architecto deleniti.",
    "image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "name": "quod",
    "operator_full_name": "Elvina Robel",
    "operator_image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "operator_position": "Product Sales Architect",
    "usage": [
      [
        "create_password",
        "company_details"
      ]
    ]
  }
}