cURL
curl --request POST \ --url https://api.example.com/api/v1/school/roles/assign/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{}
Assign a role to a user, optionally limited to a specific class or subject
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>