ورود | ثبت نام
  • FA
  • EN

API Docs

POST /api/v1/users/{user-id}/attach-role/{role-id}

Attach a role to a user.


Permissions

PermissionDescription
users.attach_roleAttach a role to any user except themselves

Response

201 Created

{
  "message": "Role attached successfully"
}

Error Responses


footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutubeTelegram