API Documentation
Organizations ¶
Organizations ¶
GET /api/v2/organizations
Requests
GET /api/v2/organizations
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
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": [
{
"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": "2c1aca464af1ec66d76d2c8b4ef474fd",
"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",
"seat_based_pricing"
],
"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-04-15T01:02:50.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,
"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": "109"
}
},
"company": {
"data": {
"type": "companies",
"id": "146"
}
},
"organization_subscription": {
"data": {
"type": "organization_subscriptions",
"id": "30"
}
}
}
}
],
"included": [
{
"id": "109",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user109@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 1,
"invited_at": null,
"is_user": true,
"user_id": 109,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:50.517+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 30
}
},
"company": {
"data": {
"type": "companies",
"id": "146"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "146",
"type": "companies",
"attributes": {
"name": "Organization30",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-04-15T01:02:50.516+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 30
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "30",
"type": "organization_subscriptions",
"attributes": {
"billing_email": null,
"billing_address": null,
"subscription_state_id": 1,
"trial_ends_at": "2021-04-29 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,
"used": 0
},
"custom_fields_per_project": {
"type": "metered",
"limit": 10,
"used": 0
},
"public_custom_reports": {
"type": "metered",
"limit": 100,
"used": 0
},
"private_custom_reports": {
"type": "metered",
"limit": 30,
"used": 0
},
"scheduling_placeholders": {
"type": "metered",
"limit": 5,
"used": 0
},
"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
}
},
"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": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": false
}
}
}
]
},
"upgrades": [],
"downgrades": [
{
"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": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": false
}
}
}
],
"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
}
}
}
}
],
"links": {
"first": "http://www.example.com/api/v2/organizations?page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://www.example.com/api/v2/organizations?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 organizationsGET/api/v2/organizations
GET /api/v2/organizations/1
Requests
GET /api/v2/organizations/31
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
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "31",
"type": "organizations",
"attributes": {
"name": "Organization31",
"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": "83299c4ad45c70c9f284ff38578eec0a",
"due_days": 15,
"email_key": "organization31",
"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",
"seat_based_pricing"
],
"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-04-15T01:02:50.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,
"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": "110"
}
},
"company": {
"data": {
"type": "companies",
"id": "147"
}
},
"organization_subscription": {
"data": {
"type": "organization_subscriptions",
"id": "31"
}
}
}
},
"included": [
{
"id": "110",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user110@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 1,
"invited_at": null,
"is_user": true,
"user_id": 110,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:50.619+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 31
}
},
"company": {
"data": {
"type": "companies",
"id": "147"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "147",
"type": "companies",
"attributes": {
"name": "Organization31",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-04-15T01:02:50.617+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 31
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "31",
"type": "organization_subscriptions",
"attributes": {
"billing_email": null,
"billing_address": null,
"subscription_state_id": 1,
"trial_ends_at": "2021-04-29 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,
"used": 0
},
"custom_fields_per_project": {
"type": "metered",
"limit": 10,
"used": 0
},
"public_custom_reports": {
"type": "metered",
"limit": 100,
"used": 0
},
"private_custom_reports": {
"type": "metered",
"limit": 30,
"used": 0
},
"scheduling_placeholders": {
"type": "metered",
"limit": 5,
"used": 0
},
"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
}
},
"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": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": false
}
}
}
]
},
"upgrades": [],
"downgrades": [
{
"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": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": false
}
}
}
],
"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": 31
}
}
}
}
],
"meta": {
"settings": {}
}
}
Gets a organizationGET/api/v2/organizations/{id}
URI Parameters
- id
number
(required) Example: 1organization id
PATCH /api/v2/organizations/1
Requests
PATCH /api/v2/organizations/33
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": "organizations",
"attributes": {
"name": ""
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "can't be blank",
"source": {
"pointer": "data/attributes/name"
}
}
]
}
Update a organizationPATCH/api/v2/organizations/{id}
URI Parameters
- id
number
(required) Example: 1organization id
DELETE /api/v2/organizations/41
Requests
DELETE /api/v2/organizations/36
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": "organizations",
"attributes": {
"deactivation_reason_id": 2,
"deactivation_note": "why i left productive"
}
}
}
Responses
This response has no content.
PATCH /api/v2/organizations/41/resend_code
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
{}
Responses
This response has no content.
PATCH /api/v2/organizations/42/resend_code
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
{}
Responses
This response has no content.
Generated by aglio on 14 Apr 2021