v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Expense Policies

Assign Expense Policy to Users

Endpoint to assign a specific ExpensePolicy to one or more User resources. Since a User can hold at most one ExpensePolicy, any existing assignment is replaced.

post/business/v2/expense-policies/{expensePolicyId}/assignees

Path parameters

expensePolicyIdstring required

The ExpensePolicy ID.

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Request body

assignee_idsstring[] required

List of User IDs to assign to the ExpensePolicy.

Example request

{
  "assignee_ids": [
    "XMPL1234-000001",
    "XMPL1234-000002",
    "XMPL1234-000003"
  ]
}

Response

No content as result.