Save Asana sync settings
post
https://api.expiryedge.com/v1/integrations/asana/saveOrgSettingseditor or admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/integrations/asana/saveOrgSettings' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"default_workspace_gid": "1200000000000001",
"default_project_gid": "1200000000000042",
"sync_on_create": true,
"sync_on_update": true,
"sync_from_asana": true
}'Response
{
"success": true
}Replaces all settings; omitted booleans become false (except sync_from_asana, default true).
default_workspace_gidstring | nulldefault_project_gidstring | nullsync_on_createbooleansync_on_updatebooleansync_from_asanabooleanDefaulttrue
200
Done.
successbooleanmessagestring
400 | The user has no organization, the provider is not connected, validation failed, or the provider API call failed. |
401 | Missing, expired or invalid bearer token. |
403 | Authenticated, but your role or organization does not allow this action. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
