PUT api/WidevineProtectionInfoCredentials/{id}
Updates credentials.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of credentials to update. |
globally unique identifier |
Required |
Body Parameters
The new data for credentials.
UpdatedWidevineProtectionInfoCredentials| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "ed5c9301-3d99-4405-a655-d5b22e7b699b",
"ProviderName": "sample string 2",
"SigningKey": "QEA=",
"SigningIv": "QEA="
}