Update user
documentedUpdate user attributes.
PUT /Users/{id}SCIMno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://app.asana.com/api/1.0/scim/Users/{{$user_id}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"schemas": ["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"], "userName": "{{$userName}}", "active": {{$active}}, "name": {"givenName": "{{$givenName}}", "familyName": "{{$familyName}}"}, "emails": [{"value": "{{$email}}", "primary": true}], "phoneNumbers": [{"value": "{{$phoneNumber}}", "type": "work"}], "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {"department": "{{$department}}", "organization": "{{$organization}}"} }'