Assignment Rule Header
The Assignment Rule header is a request header applied when creating or updating
Accounts, Cases, or Leads. If enabled, the active assignment rules are used. If disabled, the
active assignment rules are not applied. If a valid AssignmentRule ID is provided, the
AssignmentRule is applied. If the header is not provided with a request, REST API defaults to
using the active assignment rules.
Header Field Name and Values
- Field name
- Sforce-Auto-Assign
- Field values
-
- TRUE. Active assignment rules are applied for created or updated Accounts, Cases, or Leads.
- FALSE. Active assignment rules are not applied for created or updated Accounts, Cases, or Leads.
- Valid AssignmentRule ID. The given AssignmentRule is applied for created Accounts, Cases, or Leads.
TRUE and FALSE are not case-sensitive.
If the header is not provided in the request, the default value is TRUE.
- Example
- Sforce-Auto-Assign: FALSE