All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
ageRatingDeclarationsUpdateInstance | PATCH /v1/ageRatingDeclarations/{id} |
\OpenAPI\Client\Model\AgeRatingDeclarationResponse ageRatingDeclarationsUpdateInstance($id, $age_rating_declaration_update_request)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: itc-bearer-token
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\AgeRatingDeclarationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | the id of the requested resource
$age_rating_declaration_update_request = new \OpenAPI\Client\Model\AgeRatingDeclarationUpdateRequest(); // \OpenAPI\Client\Model\AgeRatingDeclarationUpdateRequest | AgeRatingDeclaration representation
try {
$result = $apiInstance->ageRatingDeclarationsUpdateInstance($id, $age_rating_declaration_update_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AgeRatingDeclarationsApi->ageRatingDeclarationsUpdateInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | the id of the requested resource | |
age_rating_declaration_update_request | \OpenAPI\Client\Model\AgeRatingDeclarationUpdateRequest | AgeRatingDeclaration representation |
\OpenAPI\Client\Model\AgeRatingDeclarationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]