/accounts/update

Update the properties of a child account. Only available to resellers.

Warning

All reseller accounts will be migrated to the new dashboard and properties model no later than 2016-07-01. This endpoint will be deprecated once all accounts are migrated.

Parameters

account_key (optional) : string

Key of the account which should be update.

email (optional) : string

Email address of the account owner.

usage_type (optional) : string

Account usage type:

limited

Account usage is limited.

unlimited

Account usage is unlimited.

content_limit (optional) : integer

Content limit in bytes. Content limit is an accumulated value, i.e. a new limit amount should be added to the current limit. When difference between the limit and used content space will become 0, all content uploads for this account will be blocked. In addition, accounts with limited usage type will be put into the pending state. Not applicable for accounts with unlimited usage type.

content_limit_update_mode (optional) : string

Content limit update mode:

set

If specified, content limit will be set to the value provided in content_limit parameter.

add

If specified, value provided in content_limit parameter will be added to the current content limit.

subtract

If specified, value provided in content_limit parameter will be subtracted from the current content limit.

Default is add.

traffic_limit (optional) : integer

Traffic limit in bytes. Traffic limit is an accumulated value, i.e. a new limit amount should be added to the current limit. When difference between the limit and used traffic space will become 0, all traffic for this account will be blocked. In addition, accounts with limited usage type will be put into the pending state. Not applicable for accounts with unlimited usage type.

traffic_limit_update_mode (optional) : string

Traffic limit update mode:

set

If specified, traffic limit will be set to the value provided in traffic_limit parameter.

add

If specified, value provided in traffic_limit parameter will be added to the current traffic limit.

subtract

If specified, value provided in traffic_limit parameter will be subtracted from the current traffic limit.

Default is add.

allow_downloads (optional) : string

Defines if unsigned direct video downloads are allowed:

True

Unsigned direct video downloads are allowed.

False

Only signed direct video downloads are allowed.

allow_embeds (optional) : string

Defines if unsigned video player embeds are allowed:

True

Unsigned video player embeds are allowed.

False

Only signed video player embeds are allowed.

cdn_protocol (optional) : string

Protocol to use when serving videos.

http

Use HTTP protocol.

rtmp

Use RTMP protocol.

Default is http.

Warning

cdn_protocol parameter is deprecated and is pending removal!

content_dns_mask (optional) : string

Delivery API DNS mask. If set, this DNS mask will be used in Delivery API URLs instead of default cdn.jwplayer.com DNS name.

custom.param (optional) : string

User defined parameter. param part of the request parameters (after the ‘.’ separator) specifies name of the parameter. Parameter name should adhere to the following naming rules:

  • name can contain letters, numbers and punctuation characters ‘.’, ‘_’, ‘-‘
  • name cannot start with a number or punctuation character
  • name cannot contain spaces

User defined parameter can be specified multiple times, as far as parameter name is unique.

If parameter already exist in the database, it will be updated with the new value. If parameter name starts with ‘-‘, parameter with the same name (but without leading ‘-‘) will be deleted from the database.

Example response

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>ok</status>
</response>

Response parameters

/response/status : string

Call execution status. Set to ok if call executed successfully.