API Documentation

API Endpoint

Organization Memberships

Organization Memberships

Supported filter params

  • organization_id (array)
GET /api/v2/organization_memberships
Requestsreturns organization memberships

GET  /api/v2/organization_memberships

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": [
    {
      "id": "114",
      "type": "organization_memberships",
      "attributes": {
        "updated_at": "2021-09-21T01:03:53.359+02:00",
        "position": null,
        "tasks_layout_id": 1,
        "time_reminders": true,
        "email_notifications": true,
        "weekly_emails": true,
        "notification_preference": {},
        "preferences": null,
        "tasks_filter_id": null,
        "deals_filter_id": null,
        "projects_filter_id": null,
        "people_filter_id": null,
        "companies_filter_id": null,
        "company_time_filter_id": null,
        "invoices_filter_id": null,
        "budgets_filter_id": null,
        "expenses_filter_id": null,
        "bookings_filter_id": null,
        "payments_filter_id": null,
        "time_reports_filter_id": null,
        "profitability_reports_filter_id": null,
        "sales_reports_filter_id": null,
        "salary_reports_filter_id": null,
        "event_reports_filter_id": null,
        "time_entry_reports_filter_id": null,
        "booking_approvals_filter_id": null,
        "expense_approvals_filter_id": null,
        "time_approvals_filter_id": null,
        "permissions": {
          "boards": {
            "actions": [
              "read",
              "create",
              "update",
              "archive",
              "restore",
              "copy"
            ],
            "editFields": [
              "base"
            ]
          },
          "deals": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy",
              "createFromOrigin",
              "copy",
              "close",
              "open",
              "reposition"
            ],
            "showFields": [
              "billableTime",
              "customFields",
              "counts",
              "invoiced",
              "time",
              "financials",
              "cost"
            ],
            "editFields": [
              "base"
            ]
          },
          "entitlements": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy"
            ],
            "editFields": [
              "base"
            ]
          },
          "expenses": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy",
              "approve",
              "unapprove",
              "bulkApprove",
              "reject",
              "unreject"
            ],
            "showFields": [
              "amount",
              "profit",
              "attachment"
            ],
            "editFields": [
              "base",
              "extended"
            ]
          },
          "projects": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy",
              "archive",
              "restore",
              "copy"
            ],
            "showFields": [
              "customFields",
              "time",
              "invoicing",
              "revenue",
              "cost"
            ],
            "editFields": [
              "base"
            ]
          },
          "project_assignments": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy"
            ],
            "editFields": [
              "base"
            ],
            "conditions": {
              "actions": {
                "owned": [
                  "update"
                ]
              }
            }
          },
          "salaries": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy"
            ],
            "showFields": [
              "overhead",
              "note",
              "cost"
            ],
            "editFields": [
              "base"
            ]
          },
          "services": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy"
            ],
            "showFields": [
              "pricing",
              "financials",
              "time",
              "billableTime",
              "cost",
              "expenses"
            ],
            "editFields": [
              "base"
            ]
          },
          "tasks": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy",
              "copy",
              "repeat",
              "reposition"
            ],
            "showFields": [
              "estimates"
            ],
            "editFields": [
              "base",
              "estimates"
            ],
            "conditions": {
              "actions": {
                "(publicAccess||subscribed)": [
                  "read",
                  "update",
                  "reposition"
                ]
              }
            }
          },
          "task_lists": {
            "actions": [
              "read",
              "create",
              "update",
              "archive",
              "restore",
              "copy"
            ],
            "editFields": [
              "base"
            ]
          },
          "time_entries": {
            "actions": [
              "read",
              "create",
              "update",
              "destroy",
              "approve",
              "unapprove",
              "bulkApprove",
              "start",
              "stop",
              "reject",
              "unreject"
            ],
            "showFields": [
              "time",
              "billableTime",
              "cost",
              "overhead"
            ],
            "editFields": [
              "base",
              "billableTime"
            ],
            "conditions": {
              "actions": {
                "(owned&&entryEditable)": [
                  "start"
                ],
                "owned": [
                  "stop"
                ]
              }
            }
          }
        }
      },
      "relationships": {
        "tasks_favorite_filter": {
          "data": null
        },
        "deals_favorite_filter": {
          "data": null
        },
        "projects_favorite_filter": {
          "data": null
        },
        "people_favorite_filter": {
          "data": null
        },
        "companies_favorite_filter": {
          "data": null
        },
        "company_time_favorite_filter": {
          "data": null
        },
        "invoices_favorite_filter": {
          "data": null
        },
        "budgets_favorite_filter": {
          "data": null
        },
        "expenses_favorite_filter": {
          "data": null
        },
        "bookings_favorite_filter": {
          "data": null
        },
        "payments_favorite_filter": {
          "data": null
        },
        "time_reports_favorite_filter": {
          "data": null
        },
        "profitability_reports_favorite_filter": {
          "data": null
        },
        "sales_reports_favorite_filter": {
          "data": null
        },
        "salary_reports_favorite_filter": {
          "data": null
        },
        "event_reports_favorite_filter": {
          "data": null
        },
        "time_entry_reports_favorite_filter": {
          "data": null
        },
        "booking_approvals_favorite_filter": {
          "data": null
        },
        "expense_approvals_favorite_filter": {
          "data": null
        },
        "time_approvals_favorite_filter": {
          "data": null
        },
        "organization": {
          "data": {
            "type": "organizations",
            "id": "28"
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "114"
          }
        },
        "user": {
          "data": {
            "type": "users",
            "id": "114"
          }
        },
        "organization_membership_counts": {
          "data": {
            "type": "organization_membership_counts",
            "id": "114"
          }
        },
        "timer": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "28",
      "type": "organizations",
      "attributes": {
        "name": "Organization28",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "455e96f2871402f4eb5403376e45e14d",
        "due_days": 15,
        "email_key": "organization28",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 1,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-09-21T01:03:53.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "open_budget_recognition_date_id": 2,
        "delivered_budget_recognition_date_id": 1,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "114"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "139"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "28"
          }
        }
      }
    },
    {
      "id": "114",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user114@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "setting_role_id": null,
        "invited_at": null,
        "is_user": true,
        "user_id": 114,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-09-21T01:03:53.359+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 28
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "139"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "114",
      "type": "users",
      "attributes": {
        "email": "user114@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 28,
        "default_organization_slug": "28-organization28",
        "intercom_hash": "951010ca54e2526e71d68f4a1b63f8bc8c7befa3e752d6f79f6dc3180b1c7663",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "114",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0,
        "pending_time_off_approvals_count": 0
      },
      "relationships": {
        "organization_membership": {
          "data": {
            "type": "organization_memberships",
            "id": 114
          }
        }
      }
    },
    {
      "id": "139",
      "type": "companies",
      "attributes": {
        "name": "Organization28",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-09-21T01:03:53.358+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null,
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 28
          }
        }
      }
    },
    {
      "id": "28",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-10-05 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "public_project_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_project_reports": {
              "type": "metered",
              "limit": 10
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "recycle_bin": {
              "type": "restricted",
              "available": true,
              "limit": 180
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            },
            "slack": {
              "type": "switch",
              "available": true
            },
            "task_custom_fields_library": {
              "type": "switch",
              "available": true
            },
            "timeline_layout": {
              "type": "switch",
              "available": true
            },
            "comment_visibility": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 15
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 10
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 100
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "public_project_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "private_project_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 5
                },
                "recycle_bin": {
                  "type": "restricted",
                  "available": true,
                  "limit": 180
                },
                "multigrouping": {
                  "type": "switch",
                  "available": true
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": true
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": true
                },
                "time_approvals": {
                  "type": "switch",
                  "available": true
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": true
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": true
                },
                "autotracking": {
                  "type": "switch",
                  "available": true
                },
                "forecasting": {
                  "type": "switch",
                  "available": true
                },
                "webhooks": {
                  "type": "switch",
                  "available": true
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": true
                },
                "formula_fields": {
                  "type": "switch",
                  "available": true
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": true
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": true
                },
                "payment_sync": {
                  "type": "switch",
                  "available": true
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": true
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": true
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": true
                },
                "slack": {
                  "type": "switch",
                  "available": true
                },
                "task_custom_fields_library": {
                  "type": "switch",
                  "available": true
                },
                "timeline_layout": {
                  "type": "switch",
                  "available": true
                },
                "comment_visibility": {
                  "type": "switch",
                  "available": true
                }
              }
            }
          ]
        },
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 1,
        "seats_used": 1,
        "seats_pending": 1,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 28
          }
        }
      }
    }
  ],
  "links": {
    "first": "http://www.example.com/api/v2/organization_memberships/?page%5Bnumber%5D=1&page%5Bsize%5D=30",
    "last": "http://www.example.com/api/v2/organization_memberships/?page%5Bnumber%5D=1&page%5Bsize%5D=30"
  },
  "meta": {
    "current_page": 1,
    "total_pages": 1,
    "total_count": 1,
    "page_size": 30,
    "max_page_size": 200,
    "settings": {}
  }
}

Get organization memberships
GET/api/v2/organization_memberships


GET /api/v2/organization_memberships/1
Requestsreturns organization membership

GET  /api/v2/organization_memberships/115

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "115",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-09-21T01:03:53.744+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": null,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": null,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null,
      "permissions": {
        "boards": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "deals": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "createFromOrigin",
            "copy",
            "close",
            "open",
            "reposition"
          ],
          "showFields": [
            "billableTime",
            "customFields",
            "counts",
            "invoiced",
            "time",
            "financials",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "entitlements": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ]
        },
        "expenses": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "reject",
            "unreject"
          ],
          "showFields": [
            "amount",
            "profit",
            "attachment"
          ],
          "editFields": [
            "base",
            "extended"
          ]
        },
        "projects": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "archive",
            "restore",
            "copy"
          ],
          "showFields": [
            "customFields",
            "time",
            "invoicing",
            "revenue",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "project_assignments": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ],
          "conditions": {
            "actions": {
              "owned": [
                "update"
              ]
            }
          }
        },
        "salaries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "overhead",
            "note",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "services": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "pricing",
            "financials",
            "time",
            "billableTime",
            "cost",
            "expenses"
          ],
          "editFields": [
            "base"
          ]
        },
        "tasks": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "copy",
            "repeat",
            "reposition"
          ],
          "showFields": [
            "estimates"
          ],
          "editFields": [
            "base",
            "estimates"
          ],
          "conditions": {
            "actions": {
              "(publicAccess||subscribed)": [
                "read",
                "update",
                "reposition"
              ]
            }
          }
        },
        "task_lists": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "time_entries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "start",
            "stop",
            "reject",
            "unreject"
          ],
          "showFields": [
            "time",
            "billableTime",
            "cost",
            "overhead"
          ],
          "editFields": [
            "base",
            "billableTime"
          ],
          "conditions": {
            "actions": {
              "(owned&&entryEditable)": [
                "start"
              ],
              "owned": [
                "stop"
              ]
            }
          }
        }
      }
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "29"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "115"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "115"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "115"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "29",
      "type": "organizations",
      "attributes": {
        "name": "Organization29",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "6585d1dedada29b859282e797a178aa3",
        "due_days": 15,
        "email_key": "organization29",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 1,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-09-21T01:03:53.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "open_budget_recognition_date_id": 2,
        "delivered_budget_recognition_date_id": 1,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "115"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "140"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "29"
          }
        }
      }
    },
    {
      "id": "115",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user115@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "setting_role_id": null,
        "invited_at": null,
        "is_user": true,
        "user_id": 115,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-09-21T01:03:53.744+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 29
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "140"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "115",
      "type": "users",
      "attributes": {
        "email": "user115@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 29,
        "default_organization_slug": "29-organization29",
        "intercom_hash": "24341606b6e74d7d08e6c4f464183654e4ac091895e655d0da11bdb7e420e9e3",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "115",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0,
        "pending_time_off_approvals_count": 0
      },
      "relationships": {
        "organization_membership": {
          "data": {
            "type": "organization_memberships",
            "id": 115
          }
        }
      }
    },
    {
      "id": "140",
      "type": "companies",
      "attributes": {
        "name": "Organization29",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-09-21T01:03:53.743+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null,
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 29
          }
        }
      }
    },
    {
      "id": "29",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-10-05 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "public_project_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_project_reports": {
              "type": "metered",
              "limit": 10
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "recycle_bin": {
              "type": "restricted",
              "available": true,
              "limit": 180
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            },
            "slack": {
              "type": "switch",
              "available": true
            },
            "task_custom_fields_library": {
              "type": "switch",
              "available": true
            },
            "timeline_layout": {
              "type": "switch",
              "available": true
            },
            "comment_visibility": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 15
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 10
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 100
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "public_project_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "private_project_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 5
                },
                "recycle_bin": {
                  "type": "restricted",
                  "available": true,
                  "limit": 180
                },
                "multigrouping": {
                  "type": "switch",
                  "available": true
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": true
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": true
                },
                "time_approvals": {
                  "type": "switch",
                  "available": true
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": true
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": true
                },
                "autotracking": {
                  "type": "switch",
                  "available": true
                },
                "forecasting": {
                  "type": "switch",
                  "available": true
                },
                "webhooks": {
                  "type": "switch",
                  "available": true
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": true
                },
                "formula_fields": {
                  "type": "switch",
                  "available": true
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": true
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": true
                },
                "payment_sync": {
                  "type": "switch",
                  "available": true
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": true
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": true
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": true
                },
                "slack": {
                  "type": "switch",
                  "available": true
                },
                "task_custom_fields_library": {
                  "type": "switch",
                  "available": true
                },
                "timeline_layout": {
                  "type": "switch",
                  "available": true
                },
                "comment_visibility": {
                  "type": "switch",
                  "available": true
                }
              }
            }
          ]
        },
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 1,
        "seats_used": 1,
        "seats_pending": 1,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 29
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Gets a organization membership
GET/api/v2/organization_memberships/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


PATCH /api/v2/organization_memberships/1
Requestsupdates organization membership

PATCH  /api/v2/organization_memberships/116

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization-memberships",
    "attributes": {
      "projects_filter_id": "4",
      "time_entry_reports_filter_id": "2"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "116",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-09-21T01:03:53.972+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": 4,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": 2,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null,
      "permissions": {
        "boards": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "deals": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "createFromOrigin",
            "copy",
            "close",
            "open",
            "reposition"
          ],
          "showFields": [
            "billableTime",
            "customFields",
            "counts",
            "invoiced",
            "time",
            "financials",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "entitlements": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ]
        },
        "expenses": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "reject",
            "unreject"
          ],
          "showFields": [
            "amount",
            "profit",
            "attachment"
          ],
          "editFields": [
            "base",
            "extended"
          ]
        },
        "projects": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "archive",
            "restore",
            "copy"
          ],
          "showFields": [
            "customFields",
            "time",
            "invoicing",
            "revenue",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "project_assignments": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ],
          "conditions": {
            "actions": {
              "owned": [
                "update"
              ]
            }
          }
        },
        "salaries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "overhead",
            "note",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "services": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "pricing",
            "financials",
            "time",
            "billableTime",
            "cost",
            "expenses"
          ],
          "editFields": [
            "base"
          ]
        },
        "tasks": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "copy",
            "repeat",
            "reposition"
          ],
          "showFields": [
            "estimates"
          ],
          "editFields": [
            "base",
            "estimates"
          ],
          "conditions": {
            "actions": {
              "(publicAccess||subscribed)": [
                "read",
                "update",
                "reposition"
              ]
            }
          }
        },
        "task_lists": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "time_entries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "start",
            "stop",
            "reject",
            "unreject"
          ],
          "showFields": [
            "time",
            "billableTime",
            "cost",
            "overhead"
          ],
          "editFields": [
            "base",
            "billableTime"
          ],
          "conditions": {
            "actions": {
              "(owned&&entryEditable)": [
                "start"
              ],
              "owned": [
                "stop"
              ]
            }
          }
        }
      }
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "30"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "116"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "116"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "116"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "30",
      "type": "organizations",
      "attributes": {
        "name": "Organization30",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "e3b61d05c0c5b10d32e1a012b4456dde",
        "due_days": 15,
        "email_key": "organization30",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 1,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-09-21T01:03:53.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "open_budget_recognition_date_id": 2,
        "delivered_budget_recognition_date_id": 1,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "116"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "141"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "30"
          }
        }
      }
    },
    {
      "id": "116",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user116@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "setting_role_id": null,
        "invited_at": null,
        "is_user": true,
        "user_id": 116,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-09-21T01:03:53.919+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 30
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "141"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "116",
      "type": "users",
      "attributes": {
        "email": "user116@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 30,
        "default_organization_slug": "30-organization30",
        "intercom_hash": "fc4f456e76c00653eaff1abd86769830acc5cfcd631ae8c8c9c275ceb82742db",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "116",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0,
        "pending_time_off_approvals_count": 0
      },
      "relationships": {
        "organization_membership": {
          "data": {
            "type": "organization_memberships",
            "id": 116
          }
        }
      }
    },
    {
      "id": "141",
      "type": "companies",
      "attributes": {
        "name": "Organization30",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-09-21T01:03:53.917+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null,
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 30
          }
        }
      }
    },
    {
      "id": "30",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-10-05 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "public_project_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_project_reports": {
              "type": "metered",
              "limit": 10
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "recycle_bin": {
              "type": "restricted",
              "available": true,
              "limit": 180
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            },
            "slack": {
              "type": "switch",
              "available": true
            },
            "task_custom_fields_library": {
              "type": "switch",
              "available": true
            },
            "timeline_layout": {
              "type": "switch",
              "available": true
            },
            "comment_visibility": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 15
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 10
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 100
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "public_project_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "private_project_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 5
                },
                "recycle_bin": {
                  "type": "restricted",
                  "available": true,
                  "limit": 180
                },
                "multigrouping": {
                  "type": "switch",
                  "available": true
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": true
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": true
                },
                "time_approvals": {
                  "type": "switch",
                  "available": true
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": true
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": true
                },
                "autotracking": {
                  "type": "switch",
                  "available": true
                },
                "forecasting": {
                  "type": "switch",
                  "available": true
                },
                "webhooks": {
                  "type": "switch",
                  "available": true
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": true
                },
                "formula_fields": {
                  "type": "switch",
                  "available": true
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": true
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": true
                },
                "payment_sync": {
                  "type": "switch",
                  "available": true
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": true
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": true
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": true
                },
                "slack": {
                  "type": "switch",
                  "available": true
                },
                "task_custom_fields_library": {
                  "type": "switch",
                  "available": true
                },
                "timeline_layout": {
                  "type": "switch",
                  "available": true
                },
                "comment_visibility": {
                  "type": "switch",
                  "available": true
                }
              }
            }
          ]
        },
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 1,
        "seats_used": 1,
        "seats_pending": 1,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 30
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Update a organization membership
PATCH/api/v2/organization_memberships/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


PATCH /api/v2/organization_memberships/1/dismiss_notifications
Requestsdismisses all notifications

PATCH  /api/v2/organization_memberships/118/dismiss_notifications

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "118",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-09-21T01:03:54.872+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": null,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": null,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null,
      "permissions": {
        "boards": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "deals": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "createFromOrigin",
            "copy",
            "close",
            "open",
            "reposition"
          ],
          "showFields": [
            "billableTime",
            "customFields",
            "counts",
            "invoiced",
            "time",
            "financials",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "entitlements": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ]
        },
        "expenses": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "reject",
            "unreject"
          ],
          "showFields": [
            "amount",
            "profit",
            "attachment"
          ],
          "editFields": [
            "base",
            "extended"
          ]
        },
        "projects": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "archive",
            "restore",
            "copy"
          ],
          "showFields": [
            "customFields",
            "time",
            "invoicing",
            "revenue",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "project_assignments": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ],
          "conditions": {
            "actions": {
              "owned": [
                "update"
              ]
            }
          }
        },
        "salaries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "overhead",
            "note",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "services": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "pricing",
            "financials",
            "time",
            "billableTime",
            "cost",
            "expenses"
          ],
          "editFields": [
            "base"
          ]
        },
        "tasks": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "copy",
            "repeat",
            "reposition"
          ],
          "showFields": [
            "estimates"
          ],
          "editFields": [
            "base",
            "estimates"
          ],
          "conditions": {
            "actions": {
              "(publicAccess||subscribed)": [
                "read",
                "update",
                "reposition"
              ]
            }
          }
        },
        "task_lists": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "time_entries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "start",
            "stop",
            "reject",
            "unreject"
          ],
          "showFields": [
            "time",
            "billableTime",
            "cost",
            "overhead"
          ],
          "editFields": [
            "base",
            "billableTime"
          ],
          "conditions": {
            "actions": {
              "(owned&&entryEditable)": [
                "start"
              ],
              "owned": [
                "stop"
              ]
            }
          }
        }
      }
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "32"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "118"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "118"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "118"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "32",
      "type": "organizations",
      "attributes": {
        "name": "Organization32",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "26ea8e6d55930c661b255c108660837e",
        "due_days": 15,
        "email_key": "organization32",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 0.16666666666666666,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-09-21T01:03:54.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "open_budget_recognition_date_id": 2,
        "delivered_budget_recognition_date_id": 1,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "118"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "143"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "32"
          }
        }
      }
    },
    {
      "id": "118",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user118@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "setting_role_id": null,
        "invited_at": null,
        "is_user": true,
        "user_id": 118,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-09-21T01:03:54.392+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 32
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "143"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "118",
      "type": "users",
      "attributes": {
        "email": "user118@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 32,
        "default_organization_slug": "32-organization32",
        "intercom_hash": "9fa3c38a0a2c5ed4b3965d496b5b194ec5eb94902bfc154ca4cd142f358d08ff",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "118",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0,
        "pending_time_off_approvals_count": 0
      },
      "relationships": {
        "organization_membership": {
          "data": {
            "type": "organization_memberships",
            "id": 118
          }
        }
      }
    },
    {
      "id": "143",
      "type": "companies",
      "attributes": {
        "name": "Organization32",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-09-21T01:03:54.391+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null,
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 32
          }
        }
      }
    },
    {
      "id": "32",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-10-05 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "public_project_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_project_reports": {
              "type": "metered",
              "limit": 10
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "recycle_bin": {
              "type": "restricted",
              "available": true,
              "limit": 180
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            },
            "slack": {
              "type": "switch",
              "available": true
            },
            "task_custom_fields_library": {
              "type": "switch",
              "available": true
            },
            "timeline_layout": {
              "type": "switch",
              "available": true
            },
            "comment_visibility": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 15
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 10
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 100
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "public_project_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "private_project_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 5
                },
                "recycle_bin": {
                  "type": "restricted",
                  "available": true,
                  "limit": 180
                },
                "multigrouping": {
                  "type": "switch",
                  "available": true
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": true
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": true
                },
                "time_approvals": {
                  "type": "switch",
                  "available": true
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": true
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": true
                },
                "autotracking": {
                  "type": "switch",
                  "available": true
                },
                "forecasting": {
                  "type": "switch",
                  "available": true
                },
                "webhooks": {
                  "type": "switch",
                  "available": true
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": true
                },
                "formula_fields": {
                  "type": "switch",
                  "available": true
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": true
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": true
                },
                "payment_sync": {
                  "type": "switch",
                  "available": true
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": true
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": true
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": true
                },
                "slack": {
                  "type": "switch",
                  "available": true
                },
                "task_custom_fields_library": {
                  "type": "switch",
                  "available": true
                },
                "timeline_layout": {
                  "type": "switch",
                  "available": true
                },
                "comment_visibility": {
                  "type": "switch",
                  "available": true
                }
              }
            }
          ]
        },
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 6,
        "seats_used": 6,
        "seats_pending": 6,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 32
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Dismiss notifications for organization membership
PATCH/api/v2/organization_memberships/{id}/dismiss_notifications

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


PATCH /api/v2/organization_memberships/1/clear_notifications
Requestsdismisses all notifications

PATCH  /api/v2/organization_memberships/130/clear_notifications

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "130",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-09-21T01:03:55.702+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": null,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": null,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null,
      "permissions": {
        "boards": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "deals": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "createFromOrigin",
            "copy",
            "close",
            "open",
            "reposition"
          ],
          "showFields": [
            "billableTime",
            "customFields",
            "counts",
            "invoiced",
            "time",
            "financials",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "entitlements": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ]
        },
        "expenses": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "reject",
            "unreject"
          ],
          "showFields": [
            "amount",
            "profit",
            "attachment"
          ],
          "editFields": [
            "base",
            "extended"
          ]
        },
        "projects": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "archive",
            "restore",
            "copy"
          ],
          "showFields": [
            "customFields",
            "time",
            "invoicing",
            "revenue",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "project_assignments": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "editFields": [
            "base"
          ],
          "conditions": {
            "actions": {
              "owned": [
                "update"
              ]
            }
          }
        },
        "salaries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "overhead",
            "note",
            "cost"
          ],
          "editFields": [
            "base"
          ]
        },
        "services": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy"
          ],
          "showFields": [
            "pricing",
            "financials",
            "time",
            "billableTime",
            "cost",
            "expenses"
          ],
          "editFields": [
            "base"
          ]
        },
        "tasks": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "copy",
            "repeat",
            "reposition"
          ],
          "showFields": [
            "estimates"
          ],
          "editFields": [
            "base",
            "estimates"
          ],
          "conditions": {
            "actions": {
              "(publicAccess||subscribed)": [
                "read",
                "update",
                "reposition"
              ]
            }
          }
        },
        "task_lists": {
          "actions": [
            "read",
            "create",
            "update",
            "archive",
            "restore",
            "copy"
          ],
          "editFields": [
            "base"
          ]
        },
        "time_entries": {
          "actions": [
            "read",
            "create",
            "update",
            "destroy",
            "approve",
            "unapprove",
            "bulkApprove",
            "start",
            "stop",
            "reject",
            "unreject"
          ],
          "showFields": [
            "time",
            "billableTime",
            "cost",
            "overhead"
          ],
          "editFields": [
            "base",
            "billableTime"
          ],
          "conditions": {
            "actions": {
              "(owned&&entryEditable)": [
                "start"
              ],
              "owned": [
                "stop"
              ]
            }
          }
        }
      }
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "34"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "130"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "130"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "130"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "34",
      "type": "organizations",
      "attributes": {
        "name": "Organization34",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "887567e1217db23fb29038a82086df75",
        "due_days": 15,
        "email_key": "organization34",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 0.16666666666666666,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-09-21T01:03:55.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "open_budget_recognition_date_id": 2,
        "delivered_budget_recognition_date_id": 1,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "130"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "161"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "34"
          }
        }
      }
    },
    {
      "id": "130",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user130@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "setting_role_id": null,
        "invited_at": null,
        "is_user": true,
        "user_id": 130,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-09-21T01:03:55.449+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 34
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "161"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "130",
      "type": "users",
      "attributes": {
        "email": "user130@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 34,
        "default_organization_slug": "34-organization34",
        "intercom_hash": "8a783aa688b8e16bcfad739fc82d33c3c2e19cd5e6ba2f82e39e077b725ff5b9",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "130",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0,
        "pending_time_off_approvals_count": 0
      },
      "relationships": {
        "organization_membership": {
          "data": {
            "type": "organization_memberships",
            "id": 130
          }
        }
      }
    },
    {
      "id": "161",
      "type": "companies",
      "attributes": {
        "name": "Organization34",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-09-21T01:03:55.447+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null,
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 34
          }
        }
      }
    },
    {
      "id": "34",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-10-05 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "public_project_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_project_reports": {
              "type": "metered",
              "limit": 10
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "recycle_bin": {
              "type": "restricted",
              "available": true,
              "limit": 180
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            },
            "slack": {
              "type": "switch",
              "available": true
            },
            "task_custom_fields_library": {
              "type": "switch",
              "available": true
            },
            "timeline_layout": {
              "type": "switch",
              "available": true
            },
            "comment_visibility": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 15
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 10
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 100
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "public_project_reports": {
                  "type": "metered",
                  "limit": 30
                },
                "private_project_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 5
                },
                "recycle_bin": {
                  "type": "restricted",
                  "available": true,
                  "limit": 180
                },
                "multigrouping": {
                  "type": "switch",
                  "available": true
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": true
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": true
                },
                "time_approvals": {
                  "type": "switch",
                  "available": true
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": true
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": true
                },
                "autotracking": {
                  "type": "switch",
                  "available": true
                },
                "forecasting": {
                  "type": "switch",
                  "available": true
                },
                "webhooks": {
                  "type": "switch",
                  "available": true
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": true
                },
                "formula_fields": {
                  "type": "switch",
                  "available": true
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": true
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": true
                },
                "payment_sync": {
                  "type": "switch",
                  "available": true
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": true
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": true
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": true
                },
                "slack": {
                  "type": "switch",
                  "available": true
                },
                "task_custom_fields_library": {
                  "type": "switch",
                  "available": true
                },
                "timeline_layout": {
                  "type": "switch",
                  "available": true
                },
                "comment_visibility": {
                  "type": "switch",
                  "available": true
                }
              }
            }
          ]
        },
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 6,
        "seats_used": 6,
        "seats_pending": 6,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 34
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Clear notifications for organization membership
PATCH/api/v2/organization_memberships/{id}/clear_notifications

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


DELETE /api/v2/organization_memberships/1
Requestsdeactivates organization membership

DELETE  /api/v2/organization_memberships/143

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses204
This response has no content.

Destroy organization membership
DELETE/api/v2/organization_memberships/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


Generated by aglio on 20 Sep 2021