Team Memberships

Create a team membership

Changed on

Create a new team membership.

post/api/v2/team_memberships

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/team_memberships
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "team_memberships",
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "12"
        }
      },
      "team": {
        "data": {
          "type": "teams",
          "id": "3"
        }
      }
    }
  }
}

Response

Single team membership

Example response

{
  "data": {
    "id": "78",
    "type": "team_memberships",
    "attributes": {},
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "12"
        }
      },
      "team": {
        "data": {
          "type": "teams",
          "id": "3"
        }
      }
    }
  },
  "included": []
}

Changes

    • 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

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.