Skip to content

upsertTraining

WRITE

Upsert training.

POST /api/v1/resources/upsertTraining
curl -X POST '<your-host>/api/v1/resources/upsertTraining' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string"
  }'
Response
{
  "id": "string"
}

Parameters

ParameterType
min length 1

Input schema

schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1
    },
    "content": {
      "type": "string"
    },
    "grantsAbilityId": {
      "type": "string"
    },
    "id": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ]
}