POST /duoplane-accounts.json

POST /duoplane-accounts.json
application/json

Body Required

  • channelId integer(int32) | null

    Channel

  • duoplanePassword string Required

    Duoplane password

  • duoplaneUsername string Required

    Duoplane username

  • enabled boolean | null Required

    Enabled

    Default value is true.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • channelId integer(int32) | null

      Channel

    • createdAt string(date-time)

      Created at

    • duoplanePassword string Required

      Duoplane password

    • duoplaneUsername string Required

      Duoplane username

    • enabled boolean | null Required

      Enabled

      Default value is true.

    • id integer(int32)

      Id

    • updatedAt string(date-time)

      Updated at

POST /duoplane-accounts.json
curl \
 --request POST 'http://api.example.com/v1/duoplane-accounts.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"channelId":42,"duoplanePassword":"string","duoplaneUsername":"string","enabled":true}'
Request examples
{
  "channelId": 42,
  "duoplanePassword": "string",
  "duoplaneUsername": "string",
  "enabled": true
}
Response examples (200)
{
  "channelId": 42,
  "createdAt": "2025-05-04T09:42:00Z",
  "duoplanePassword": "string",
  "duoplaneUsername": "string",
  "enabled": true,
  "id": 42,
  "updatedAt": "2025-05-04T09:42:00Z"
}