User Agreement Consents
A user agreement consent resource is a record of a user consenting to a terms of service agreement for a specific language and revision. Only the latest consent record is available through a GET request, which shows only the current agreement consent state for (1) all the user’s agreement consents, or (2) the current agreement consent state for one specific agreement.
This service provides operations to read and update user agreement consent resources.
You need the Environment Admin role to perform operations on user consent resources.
Agreement consent state data model
The properties described here identify the agreement consents associated with a specified user and current state of the agreement consent (represented by the lastConsent properties).
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Object |
Required |
Mutable |
Specifies the agreement resource for this agreement consent. |
|
String |
Required |
Mutable |
Specifies the UUID of the agreement resource for this agreement consent. |
|
Object |
Required |
Mutable |
Specifies the language resource associated with this agreement consent. |
|
String |
Required |
Mutable |
Specifies the language resource UUID associated with this agreement consent. If the |
|
DateTime |
N/A |
Read-only |
Specifies the date and time at which the user consented to the agreement. |
|
DateTime |
N/A |
Read-only |
Specifies the date and time at which the user consent to the agreement expires. |
|
Object |
N/A |
Read-only |
Specifies the language resource associated with the user’s last agreement consent. |
|
String |
N/A |
Read-only |
Specifies the language resource UUID associated with the user’s last agreement consent. |
|
Object |
N/A |
Read-only |
Specifies the revision resource associated with the user’s last agreement consent. |
|
String |
N/A |
Read-only |
Specifies the revision resource UUID associated with the user’s last agreement consent. |
|
Object |
Required |
Mutable |
Specifies the revision resource associated with this agreement consent. |
|
String |
Required |
Mutable |
Specifies the revision resource UUID associated with this agreement consent. |
|
String |
N/A |
Read-only |
Specifies whether the consent is valid or not, depending on the agreement, language, and revision configuration. Options are |
|
Object |
Required |
Mutable |
Specifies the user associated with this agreement consent. |
|
String |
Required |
Mutable |
Specifies the UUID of the user associated with this agreement consent. |
User consent event model
The properties described here are used with the PingOne audit reporting service to search for a user’s consent history for specific agreements. For more information about the audit events to use to query a user’s consent history, refer to Agreement Management.
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
DateTime |
Optional |
Mutable |
Specifies the date and time at which the user consented to the agreement. |
|
Object |
Required |
Mutable |
Specifies the agreement resource for this agreement consent. |
|
String |
Required |
Mutable |
Specifies the UUID of the agreement resource for this agreement consent. |
|
Object |
Required |
Mutable |
Specifies the language resource associated with this agreement consent. |
|
String |
Required |
Mutable |
Specifies the language resource UUID associated with this agreement consent. |
|
Object |
Required |
Mutable |
Specifies the revision resource associated with this agreement consent. |
|
String |
Required |
Mutable |
Specifies the revision resource UUID associated with this agreement consent. |
|
String |
N/A |
Read-only |
Specifies whether the consent is valid or not, depending on the agreement, language, and revision configuration. Options are |
|
Object |
Required |
Mutable |
Specifies the user associated with this agreement consent. |
|
String |
Required |
Mutable |
Specifies the UUID of the user associated with this agreement consent. |