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.

Table 1. POST /system/eula_acceptances/{id} resource details
MIME Type

application/json

Table 2. POST /system/eula_acceptances/{id} request parameter details
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.

Table 3. POST /system/eula_acceptances/{id} request body details
Parameter Data Type MIME Type Description Sample

data

Object

application/json

The updated EULA Acceptance structure.
  • 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.

{ "accepted_eula": true, "id": 42 }

Table 4. POST /system/eula_acceptances/{id} response codes
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

The updated EULA Acceptance structure.
  • 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
}