POST /system/eula_acceptances/{id}
Updates an individual EULA acceptance.
All users are able to call this endpoint, may only update the EULA Acceptance resource that corresponds to them.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
id |
path |
Required |
Number (Integer) |
text/plain |
The ID of the EULA Acceptance to update. |
fields |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
data |
Object |
application/json |
The updated EULA Acceptance structure.
|
{ "accepted_eula": true, "id": 42 } |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The EULA Acceptance was updated. |
|
403 |
79303003 |
The EULA Acceptance cannot be updated before viewing the EULA. See the /api/system/eulas endpoint for more information. |
404 |
79303002 |
The EULA Acceptance id does not exist. |
500 |
79303001 |
There was an unexpected problem updating EULA Acceptance information. |
Response Description
- id - Long - The ID of the EULA Acceptance to update.
- accepted_eula - Boolean - Indicates if the EULA has been accepted. If this value is false, access to the system is restricted.
Response Sample
{
"accepted_eula": true,
"id": 42
}