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.eyJzdWIiOiIxMiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE2NiwiZXhwIjoxNzU1ODU4MTY2LCJqdGkiOiI1OTA4ZTM2OC01OTdjLTRjOTQtOTkzZi05YzE5ZTM2YThmZTEifQ.Vk9emWE0BP0LYhcUId-QLxUbkllATcP2NS7ZJxUb7wE
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/"3d8571782cdba8be70541f426d5df82e"
cache-control: max-age=0, private, must-revalidate
x-request-id: a4cd8c5b-9d89-496c-a8dd-063abcdd4b16
x-runtime: 0.022653
content-length: 412

Body

{
  "auth_template": {
    "id": 3,
    "content": "Minus sed voluptas. Placeat sequi aut. Et tenetur animi.",
    "image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "name": "cupiditate",
    "operator_full_name": "Tamara Ullrich",
    "operator_image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "operator_position": "Construction Associate",
    "usage": [
      [
        "create_password",
        "create_account"
      ]
    ]
  }
}