curl--location--request POST 'https://rai-api.returning.ai/api/v1/roles/1106/682d69d6f91d6de701b91391/add' \
--header'x-api-key;'
Responses
🟢200Success
application/json
Body
Example
{"meta":{"success":true,"message":"Role has been added to user successfully","devMessage":"Role has been added to user successfully"},"body":{"_id":"{_id}","name":"Reti Him","email":"lazosa@uiemail.com","displayname":"lazosa","first":"Reti","last":"Him","nicename":"lazosa","signup_date":"2025-04-30T04:54:51.777Z","last_login":"2025-04-30T08:27:33.138Z","isVerified":true,"joinServer":true,"createdAt":"2025-04-30T04:54:51.780Z","updatedAt":"2025-04-30T08:49:00.165Z","id":"{id}","__v":0,"badges":{},"server_roles":[]}}