Skip to main content
PUT
/
v2
/
guidances
/
{id}
Update Guidance
curl --request PUT \
  --url https://public.api.serval.com/v2/guidances/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "content": "<string>",
  "shouldAlwaysUse": true
}
'
{
  "data": {
    "id": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "content": "<string>",
    "shouldAlwaysUse": true
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the guidance.

Body

application/json
name
string

The name of the guidance.

description
string

A description of the guidance.

content
string

The content of the guidance.

shouldAlwaysUse
boolean | null

Whether this guidance should always be used (optional).

Response

Success

data
data · object

The updated guidance.