AnonymizeUser REST API endpoint
Disclaimer: This endpoint documentation is generated from the latest Sitevision version. It might differ from the actual Sitevision environment where your website resides.
Use the RestApi utility of the Public API for server-side access of this endpoint.
AnonymizeUser
Manage anonymization of users.
Applicable to: sv:principalRepository.
GET
Returns information about a sv:simpleUser or sv:user.
Requires that the caller is authorized to MANAGE_USERS on the sv:site.
| Name | Type | Description |
|---|---|---|
| id | string |
The id for the sv:simpleUser or sv:user |
Example URL
2.65fa899f15f15b770c9341_principalRepository/anonymizeuser
Example input
{
"id": "247.636e3d616e646b6f722c64633d73697465766973696f6e2c64633d7365"
}
Example response
{
"id": "247.636e3d616e646b6f722c64633d73697465766973696f6e2c64633d7365",
"type": "sv:user",
"displayName": "Magnus Lövgren",
"uid": "cn=magloven,dc=sitevision,dc=se",
"dn": "cn=magloven,dc=sitevision,dc=se",
"directory": "505.5e7885fe15f5e14d58e1_siteDirectory",
"telephoneNumber": "+4619123456",
"inetorgperson_name": "magloven",
"objectClass": [
"person",
"organizationalPerson",
"inetOrgPerson",
"top"
],
"givenName": "Magnus",
"sn": "Lövgren",
"mobile": "+46701234567",
"mail": "info@sitevision.se",
"title": "Software Architect",
"username": "magloven",
"userIdentity": "400.3462b770161dcbe6ad512"
}
DELETE
Anonymizes a sv:simpleUser or sv:user.
Requires that the caller is authorized to MANAGE_USERS on the sv:site.
WARNING Anonymization of a user is a volatile, irreversible operation that clears ALL data related to the user.
Example URL
2.65fa899f15f15b770c9341_principalRepository/anonymizeuser/247.636e3d616e646b6f722c64633d73697465766973696f6e2c64633d7365
DELETE
Anonymizes a sv:simpleUser or sv:user.
Requires that the caller is authorized to MANAGE_USERS on the sv:site.
WARNING Anonymization of a user is a volatile, irreversible operation that clears ALL data related to the user.
| Name | Type | Description |
|---|---|---|
| id | string |
The id for the sv:simpleUser or sv:user |
Example URL
2.65fa899f15f15b770c9341_principalRepository/anonymizeuser
Example input
{
"id": "247.636e3d616e646b6f722c64633d73697465766973696f6e2c64633d7365"
}