Create a new guidance for a team.
cURL
curl --request POST \ --url https://public.api.serval.com/v2/guidances \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "teamId": "<string>", "name": "<string>", "description": "<string>", "content": "<string>", "shouldAlwaysUse": true } '
{ "data": { "id": "<string>", "teamId": "<string>", "name": "<string>", "description": "<string>", "content": "<string>", "shouldAlwaysUse": true, "isPublished": true, "hasUnpublishedChanges": true } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the team.
The name of the guidance.
A description of the guidance.
The content of the guidance (optional).
Whether this guidance should always be used (optional, defaults to false).
Success
The created guidance.
Show child attributes
Was this page helpful?