Add access/role to an user from SCIM API

Hi, I am looking for a method to progmatically assign an role to an user. Is SCIM API right place to check for that? Currently the role is assigned to an user from admin console through an approval process, but we want to weave the approval process and somehow trigger user role assignment from external process through API . Thanks