Skip to main content

Profile

Endpoints for the signed-in user. They require a user token (obtained with token exchange). A service token cannot use them.

EndpointBodyResponse
GET /api/v1/profile{ tenantId, tenantName, uid, displayName, photoURL, emailHint } (emailHint is masked)
PUT /api/v1/updateProfile{ displayName }{ result: 'ok' }
POST /api/v1/avatar{ photoURL }{ result: 'ok' }
POST /api/v1/requestPasswordResetnone{ result: 'ok' }. Sends the reset email
DELETE /api/v1/profile{ password }{ result: 'ok' }. Anonymises the account

Errors: 401 profile/invalid, profile/user-not-active, profile/not-active, 400 auth/password-required, 401 auth/wrong-password.

curl -s https://auth.scenid.cloud/api/v1/profile -H "Authorization: Bearer $USER_TOKEN"