Deals

Reorder team members

PUT/deals/{dealId}/team/order
deals:writeset_team_member_orderDestructiveIdempotentDeprecatedSunset 2027-06-30

Reorders the deal's team members. order is the complete list of the deal's team member ids in the desired sequence; each member's position is set to its 1-based index. The list must contain exactly the deal's member ids, else 422. Deprecated: it will be withdrawn on 2027-06-30. /deals/{deal_id}/team-members replaces it; the Link header names the replacement.

Path parameters

  • dealIdstring (uuid)Required#

    The deal's public uuid.

Request body

application/json, required

  • orderstring (uuid)[]Required#
{
  "order": [
    "9c4b1d2e-3f5a-4b6c-8d7e-0f1a2b3c4d5e",
    "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
  ]
}

Responses

{
  "data": [
    {
      "id": "9c4b1d2e-3f5a-4b6c-8d7e-0f1a2b3c4d5e",
      "name": "Ada Lovelace",
      "job_title": "Managing Partner",
      "bio": "20 years in venture.",
      "image_id": null,
      "linkedin_username": "adalovelace",
      "twitter_username": "ada",
      "order": 1,
      "created_at": "2026-06-15T10:30:00+00:00",
      "updated_at": "2026-06-20T14:05:00+00:00"
    },
    {
      "id": "b2c3d4e5-6f70-4a81-9b2c-3d4e5f60718a",
      "name": "Alan Turing",
      "job_title": "Investment Director",
      "bio": "Ex-quant, deep tech focus.",
      "image_id": null,
      "linkedin_username": "alanturing",
      "twitter_username": "alan",
      "order": 2,
      "created_at": "2026-06-16T09:15:00+00:00",
      "updated_at": "2026-06-20T14:05:00+00:00"
    }
  ]
}
401

Authentication failed. error.code is one of invalid_token, expired, revoked.

Error
403

Authorization failed. error.code is one of org_disabled, ip_blocked, missing_scope, scope_disabled, user_disabled.

Error
404

Resource not found (error.code = not_found).

Error
422

Request validation failed (HTTP 422). The body is either the Laravel validation envelope (message + field-keyed errors) or the API error envelope for domain rejections (e.g. form_type_not_supported, folder_locked, parent_not_found, folder_not_empty).

429

Rate limit exceeded (error.code = rate_limited).

Error

Examples

curl -X PUT https://your-org-domain/kong/core/api/v2/deals/{dealId}/team/order\
  -H "Authorization: Bearer $HELM_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "order": [
    "9c4b1d2e-3f5a-4b6c-8d7e-0f1a2b3c4d5e",
    "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
  ]
}'