PUT api/WidevineProtectionInfoCredentials/{id}

Updates credentials.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of credentials to update.

globally unique identifier

Required

Body Parameters

The new data for credentials.

UpdatedWidevineProtectionInfoCredentials
NameDescriptionTypeAdditional information
ProviderName

The name of the provider.

string

Required

Max length: 128

Min length: 1

SigningKey

The key to use for signing.

Collection of byte

Required

Max length: 32

Min length: 32

SigningIv

The initialization vector to use for signing.

Collection of byte

Required

Max length: 16

Min length: 16

Request Formats

application/json, text/json

Sample:
{
  "ProviderName": "sample string 1",
  "SigningKey": "QEA=",
  "SigningIv": "QEA="
}

Response Information

Resource Description

WidevineProtectionInfoCredentials
NameDescriptionTypeAdditional information
Id

The ID of the credentials.

globally unique identifier

None.

ProviderName

The name of the provider.

string

Required

Max length: 128

Min length: 1

SigningKey

The key to use for signing.

Collection of byte

Required

Max length: 32

Min length: 32

SigningIv

The initialization vector to use for signing.

Collection of byte

Required

Max length: 16

Min length: 16

Status Codes

All HTTP status codes must be expected, but the following status codes are the most probable:

  • OK (200) - Credentials are successfully updated.
  • BadRequest (400) - The ID of credentials or the updated data for credentials is invalid.

Response Formats

application/json, text/json

Sample:
{
  "Id": "addb1031-0cea-4b6f-a7c9-3c185f425774",
  "ProviderName": "sample string 2",
  "SigningKey": "QEA=",
  "SigningIv": "QEA="
}