Skip to content

updateAbility

WRITE

Update ability.

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

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "ability": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "recertifyEveryDays": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    }
  },
  "required": [
    "id",
    "ability"
  ]
}