cURL
curl --request POST \ --url https://{tenant}.torchapp.com.au/api/v1/users/{user_id}/assignments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "assignable_type": "architecto", "assignable_id": 16 } '
{}
Create assignment for user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user.
"architecto"
16
Assignment created
The response is of type object.
object