Add members to a group

POST /v1/groups/{groupId}/spotMembers~bulkAdd

Add members to a group

Path parameters

  • groupId string Required

    The id of the group

application/json

Body Required

  • spotMemberIds array[string] Required

    An array of strings representing the unique identifiers of spot members to add to group

Responses

  • 200 application/json

    Members successfully added

    Hide response attributes Show response attributes object
    • addedSpotMemberIds array[string] Required

      The list of spot member id that were successfully added to the group.

    • failedSpotMemberIds array[string] Required

      The list of spot member id that failed to be added to the group.

  • 400

    Malformed payload

  • 404

    Group not found

POST /v1/groups/{groupId}/spotMembers~bulkAdd
curl \
 --request POST 'https://openapi.meltingspot.io/v1/groups/{groupId}/spotMembers~bulkAdd' \
 --header "Content-Type: application/json" \
 --data '{"spotMemberIds":["string"]}'
Request examples
{
  "spotMemberIds": [
    "string"
  ]
}
Response examples (200)
{
  "addedSpotMemberIds": [
    "string"
  ],
  "failedSpotMemberIds": [
    "string"
  ]
}