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": "174ded39-b43c-47e5-b68b-8c933a427ec8",
  "ProviderName": "sample string 2",
  "SigningKey": "QEA=",
  "SigningIv": "QEA="
}