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.eyJzdWIiOiIxMiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0MjQ2NDkwMSwiZXhwIjoxNzQ1MDU2OTAxLCJqdGkiOiJkODg5YTk0ZS1kMzlmLTQ5MTktOGVkMy0wZjc1YWU3NTE3MDIifQ.Ox21jYtO0-j8or934ruhvy3_vVeQv7OBWX8i2x1SXa4
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/"2227fa9820e3c6562f68de4add663562"
cache-control: max-age=0, private, must-revalidate
x-request-id: ef2bd9f5-c4e1-4752-939c-cd0c6511c7fe
x-runtime: 0.016151
content-length: 424

Body

{
  "auth_template": {
    "id": 3,
    "content": "Fugiat amet debitis. Recusandae repudiandae aliquid. Architecto laboriosam repellat.",
    "image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "name": "quae",
    "operator_full_name": "Oscar Gislason",
    "operator_image": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "operator_position": "Government Technician",
    "usage": [
      [
        "create_password",
        "login"
      ]
    ]
  }
}