Jobs

Update a description template

PUT update description template

Endpoint

PUT /api/v1/jobs/templates/:id

Parameters

Name Description
template[title] required Template title
template[description] required Template description

Request

Route

PUT /api/v1/jobs/templates/11

Headers

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

Body

{
  "template": {
    "title": "Global IT Orchestrator",
    "description": "Tibi acer bellum. Confido virga sustineo."
  }
}

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/"a588224d122c689685b7b8f2b3c95648"
cache-control: max-age=0, private, must-revalidate
x-request-id: 430167ca-207f-4f47-9e59-9ab92cae4305
x-runtime: 0.022798
content-length: 113

Body

{
  "template": {
    "id": 11,
    "description": "Tibi acer bellum. Confido virga sustineo.",
    "title": "Global IT Orchestrator"
  }
}