DTT Templates

Activate DTT template

Changed on

Activates a training program template by ID. Only one template can be active at a time.

If your schedule type is "auto" or "weekly", it will be switched to "single" mode. All other templates (owned and imported) will be deactivated.

post/dtt/templates/{id}

Request

  • Base URL
    https://dashboard.researchanddesire.com/api/v1
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code/oauth/authorize
      Token URL/oauth/token
      Scopesdtt:write

Path parameters

idinteger required
Example:1

The DTT template (training program) ID

Request body

isActivetrue required

Must be true to activate

Response

Template activated

oktrue required

Changes

    • breaking

      the //////// response's property type changed from integer to number for status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security oauth2 was added to the API