Passer au contenu principal
POST
/
users
/
{id}
/
risk-assessments
/
clear
Clear risk assessment assessors for a specific user
curl --request POST \
  --url https://{tenantDomain}/api/v2/users/{id}/risk-assessments/clear \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connection": "<string>",
  "assessors": [
    "new-device"
  ]
}
'

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

ID of the user to clear assessors for.

Maximum string length: 1024

Corps

connection
string
requis

The name of the connection containing the user whose assessors should be cleared.

Required string length: 1 - 128
Pattern: ^[a-zA-Z0-9](-[a-zA-Z0-9]|[a-zA-Z0-9])*$
assessors
enum<string>[]
requis

List of assessors to clear.

Minimum array length: 1

Assessors to clear.

Options disponibles:
new-device

Réponse

Risk assessment assessors cleared.