POST
/
workspace
/
logbook
/
templates
/
{workspaceId}
curl --request POST \
  --url https://api.hyra.io/workspace/logbook/templates/{workspaceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "content": "<string>"
}'
{
  "_id": "<string>",
  "name": "<string>",
  "content": "<string>",
  "workspace": "<string>",
  "created_by": "<string>",
  "last_edited_by": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Body

application/json
name
string
required
content
string
required

Response

200 - application/json
_id
string
name
string
content
string
workspace
string
created_by
string
last_edited_by
string
createdAt
string
updatedAt
string