I am trying to use curl for the approvers function and I dont know how to add more then one here is an example, I know I need to use an array but it wont work.
Hi,
please add the docs URL you are following to make it easier to understand your question
The general request options and requirements are documented in the main API documentation.
For arrays this needs to look like this in your example:
curl -X POST -H "PRIVATE-TOKEN: ...." \
-d "user_ids[]=1" \
-d "user_ids[]=2" \
https://..../api/v4/projects/:id/approval_rules?name=...&...
Cheers,
Michael