Organizations

Update an organization

Changed on

Update an organization.

patch/api/v2/organizations/{id}

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/organizations/{id}
  • Auth
    none declared

Path parameters

idstring required

ID

Request body

Example request

{
  "data": {
    "type": "organizations",
    "attributes": {
      "name": "My Agency",
      "currency": "USD",
      "timezone": "UTC"
    }
  }
}

Response

Single organization

Example response

{
  "data": {
    "id": "109",
    "type": "organizations",
    "attributes": {
      "name": "My Agency",
      "subdomain": "myagency",
      "created_at": "2020-01-01T00:00:00.000+00:00",
      "currency": "USD",
      "timezone": "UTC"
    },
    "relationships": {}
  },
  "included": []
}

Changes

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status