Insert an account device policy
1min
POST
Authentication
Authorization
Bearer
Path Parameters
accountReference
string
*
Header Parameters
X-TokenId
string
X-SessionId
string
X-Version
string
*
Origin
string
Body Parameters
accountDeviceDTO
FictiveGlobal.Api.Rest.Dtos.v1.Devices.AccountDevicePolicyDTO
*
devicePolicyReference
string
allowedDevices
integer<int32>
deviceChangesAllowed
integer<int32>
deviceChangesUnit
string<none | hours | days | months | years>
deviceChangesPeriod
integer<int32>
allowedPlayoutSlots
integer<int32>
parentPolicyReference
string
Responses
200
OK
string
Description
OK
400
β’ The deviceChangesUnit parameter must contain hours, days, months or years value.
<br />β’ The allowedDevices parameter must contain an integer greater than 0.
<br />β’ The deviceChangesAllowed parameter must contain an integer greater than 0.
<br />β’ The deviceChangesPeriod parameter must contain an integer greater than 0.
<br />β’ The allowedPlayoutSlots parameter must contain an integer greater than 0.
401
API Authentication Failure: Invalid Authentication Type/Credentials Provided.
403
β’ A device management policy already exists, please update the existing policy.
<br />β’ Missing privilege.
<br />β’ Disabled Device Management Feature.
ο»Ώ
ο»Ώ
Updated 25 Mar 2024
Did this page help you?