PUT api/FairPlayDataSets/{id}
Updates a FairPlay data set.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the data set to update. |
globally unique identifier |
Required |
Body Parameters
The new data for the data set.
UpdatedFairPlayDataSet| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name of the data set. |
string |
Max length: 256 Min length: 1 |
| ApplicationSecretKey |
The application secret key. |
Collection of byte |
Max length: 16 Min length: 16 |
| ProvisioningData |
The provisioning data for SDK 5.x+ |
Collection of byte |
None. |
| ApplicationCertificate |
The X.509 application certificate. May be a single DER cert or a concatenated bundle; |
Collection of byte |
Required |
| PrivateKey |
The RSA private key in the PKCS#1 PEM format, not password protected. |
Collection of byte |
Required |
Request Formats
application/json, text/json
{
"Name": "sample string 1",
"ApplicationSecretKey": "QEA=",
"ProvisioningData": "QEA=",
"ApplicationCertificate": "QEA=",
"PrivateKey": "QEA="
}
Response Information
Resource Description
FairPlayDataSet| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the data set. |
globally unique identifier |
Required |
| Name |
The name of the data set. |
string |
None. |
| CertificateHash |
The hash of the certificate. |
Collection of byte |
Required Max length: 20 Min length: 20 |
| CertificateHash256 |
The SHA256 hash of the certificate. |
Collection of byte |
Max length: 32 Min length: 32 |
| Created |
The date when the data set was created (in the ISO 8601 format). |
date |
Required |
| Updated |
The date when the data set was updated last time (in the ISO 8601 format). |
date |
None. |
Status Codes
All HTTP status codes must be expected, but the following status codes are the most probable:
- OK (200) - The data set is successfully updated.
- BadRequest (400) - The ID of the data set or the updated data for the data set is invalid.
- NotFound (404) - The data set with the specified ID is not found.
Response Formats
application/json, text/json
{
"Id": "0cb14a22-df30-4cfa-b0c7-c2e5ce63f048",
"Name": "sample string 2",
"CertificateHash": "QEA=",
"CertificateHash256": "QEA=",
"Created": "2026-09-07T14:43:32.416662+00:00",
"Updated": "2026-09-07T14:43:32.416662+00:00"
}