User
Update own details
Update PII details for the authenticated regulated user (name, location, phone, job title). Entitlements are not affected.
Required entitlement: regulated.my-profile.canModifyMyUserDetails
Entitles the regulated user to update their own profile details
put/api-regulated/v1/users/self
Request
- Base URL: https://api.currencyguard.com
- URL: https://api.currencyguard.com/api-regulated/v1/users/self
- Auth: OAuth 2 (implicit, authorization URL https://auth.currencyguard.com/oauth2/authorize, scopes: regulated.my-profile.canModifyMyUserDetails)
Request body
Example request
{
"subClaim": "auth0|12345678-1234-4001-8000-123456789012",
"roleClaims": "ROLE_ADMIN,ROLE_TRADER",
"status": "ENABLED",
"entitlementsTemplateId": "12345678-1234-4001-8000-123456789012",
"piiData": {
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "+44 20 7946 0958",
"jobTitle": "Risk Manager",
"department": "Trading"
}
}Response
User updated successfully
Example response
{
"id": "12345678-1234-4001-8000-123456789012",
"subClaim": "auth0|12345678-1234-4001-8000-123456789012",
"roleClaims": "ROLE_ADMIN,ROLE_TRADER",
"status": "ENABLED",
"onboardedDate": "2024-01-15T00:00:00Z",
"entitlementsTemplateId": "12345678-1234-4001-8000-123456789012",
"piiData": {
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "+44 20 7946 0958",
"jobTitle": "Risk Manager",
"department": "Trading"
},
"preferences": {
"tables": {
"guard-book": {
"pageSize": 50
}
}
},
"perimeterId": "cccccccc-cc11-4001-8000-000000000000",
"authType": "OAUTH2_AUTHORIZATION_CODE",
"eventSequence": 12345,
"versionNumber": 1,
"updatedBy": "jbloggs24",
"updatedAt": "2024-10-18T12:30:40Z",
"createdAt": "2024-10-18T12:30:40Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.