A special endpoint is available at /scim/v2/Me
that acts as an alias for the currently authenticated user, the user associated with the bearer token.
For example, if the currently authenticated user is available via the path /scim/v2/Users/5caa81af-ec05-41ff-a709-c7378007a99c
, then the same user resource will also be available through /scim/v2/Me
. The two paths are interchangeable, and the /Me
endpoint can be substituted in any request path where the combination of resource type and identifier might otherwise be used.
This includes sub-resources. For example, for an authenticated user with the ID 5caa81af-ec05-41ff-a709-c7378007a99c
, the paths /scim/v2/Users/5caa81af-ec05-41ff-a709-c7378007a99c/password
and /scim/v2/Me/password
both identify the user’s password sub-resource.