curl -X POST https://api.truthlocks.com/v1/role-bindings \ -H "X-API-Key: tlk_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "user_id": "550e8400-e29b-41d4-a716-446655440000", "role_id": "880e8400-e29b-41d4-a716-446655440000", "scope_type": "TENANT" }'
{ "id": "990e8400-e29b-41d4-a716-446655440000", "tenant_id": "440e8400-e29b-41d4-a716-446655440000", "user_id": "550e8400-e29b-41d4-a716-446655440000", "role_id": "880e8400-e29b-41d4-a716-446655440000", "scope_type": "TENANT", "created_at": "2026-04-14T10:00:00Z" }
Bind a role to a user within your tenant.
"TENANT"
"ORG"
scope_type