Update current Account Page profile.
curl --request PATCH \ --url https://auth.example.com/api/account/profile \ --header 'Content-Type: application/json' \ --cookie authrim_session=<authrim_session> \ --data '{ "name": "example" }'Updates mutable profile fields for the authenticated Account Page user. The initial implementation supports name changes.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Example generated
{ "name": "example"}Responses
Section titled “ Responses ”Account Page profile response.
object
object
object
Example generated
{ "profile": { "user_id": "example", "email": "hello@example.com", "email_verified": true, "name": "example", "given_name": "example", "family_name": "example", "locale": "example", "picture": "example" }, "session": { "id": "example", "created_at": 1, "expires_at": 1, "auth_time": 1, "acr": "example", "amr": [ "example" ] }}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}