Currently we can associate a user with a custom role via the API using the endpoint in ee/lib/ee/api/members.rb but there is no way to remove that association. This can probably happen in the existing PATCH endpoint but it is not possible currently because that endpoint currently calls not_found!('Member Role') unless member_role
This issue was automatically tagged with the label ~"group::authentication and authorization" by TanukiStan, a machine learning classification model, with a probability of 1.
If this label is incorrect, please tag this issue with the correct group label as well as automation:ml wrong to help TanukiStan learn from its mistakes.
This message was generated automatically.
You're welcome to improve it.
If you do not feel the purpose of this issue matches one of the types, you may apply the typeignore label to exclude it from type tracking metrics and future prompts.