cURL
curl --request POST \ --url https://api.flare.io/firework/v2/tenants/{tenant_id}/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "users": [ { "is_readonly": true, "role": "viewer", "user_id": 123 } ] }'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Was this page helpful?