Enable audit logging of the Security Token Response in the WS-Federation or WS-Trust response for the tenant.
enabled
Set to true to enable tenant level audit logging of the Security Token Response in the WS-Federation or WS-Trust response.
allUsers
Enabling tenant level audit logging of the Security Token Response in WS-Federation or WS-Trust response is applied to all users.
This field will be ignored.
users
Enabling tenant level audit logging of the Security Token Response in WS-Federation or WS-Trust response is applied to all users.
This field will be ignored.
expiry
Period to enable audit logging of the Security Token Response in WS-Federation or WS-Trust response for.
The value can be specified in seconds, minutes or hours. e.g. 120s, 10m, 1h.
If expiry is not specified or is specified in an invalid format, the default expiry of 10 minutes will be used.
The maximum expiry is 1 hour. If the expiry specified is more than 1 hour, e.g. 2h, the maximum expiry of 1 hour will be used.
Example payload:
{
"enabled": true,
"expiry": "10m"
}
post https://{tenanturl}/v1.0/wsf/federations/trace