Update a spot member

PUT /v1/spotMembers/{spotMemberId}

Update a spot member

Path parameters

  • spotMemberId string Required

    The id of the spotMember

application/json

Body Required

  • firstname string

    The first name of the spot member

  • lastname string

    The last name of the spot member

  • title string

    The title of the spot member

  • role string

    The role of the spot member

    Values are Member or Admin.

  • status string

    The status of the spot member

    Values are Accepted, Deactivated, or Rejected.

  • avatarUrl string | null

    The URL of the spot member avatar

  • embedBaseUrls object

    The custom embed base URLs of the spot member.

    Hide embedBaseUrls attributes Show embedBaseUrls attributes object
    • default string
    • * string Additional properties
  • customRoleId string | null

    The custom role ID of spot member

Responses

  • 200 application/json

    Spot member successfully updated

    Hide response attributes Show response attributes object
    • id string Required

      The id of the spot member.

    • spotId string Required

      The id of the spot.

    • userId string | null Required

      The id of the user.

    • email string Required

      The email of the spot member.

    • title string | null Required

      The title of the spot member.

    • lang string Required

      The lang of the spot member.

      Values are en, fr, de, it, es, pt, or nl.

    • role string Required

      The role of the spot member.

      Values are Member or Admin.

    • customRoleId string | null Required

      The custom role ID of the spot member.

    • status string Required

      The status of the spot member.

      Values are Accepted, Deactivated, DeclinedInvitation, Invited, Left, Pending, or Rejected.

    • firstname string Required

      The firstname of the spot member.

    • lastname string Required

      The lastname of the spot member.

    • warnings number Required

      The number of warnings the spot member has.

    • embedBaseUrls object Required

      The custom embed base URLs of the spot member.

      Hide embedBaseUrls attributes Show embedBaseUrls attributes object
      • default string
      • * string Additional properties
    • updatedAt integer | null Required

      Timestamp in ms of updated date

  • 400

    Malformed payload

  • 404

    Spot member not found

PUT /v1/spotMembers/{spotMemberId}
curl \
 --request PUT 'https://openapi.meltingspot.io/v1/spotMembers/{spotMemberId}' \
 --header "Content-Type: application/json" \
 --data '{"firstname":"string","lastname":"string","title":"string","role":"Member","status":"Accepted","avatarUrl":"string","embedBaseUrls":{"default":"string","additionalProperty1":"string","additionalProperty2":"string"},"customRoleId":"string"}'
Request examples
{
  "firstname": "string",
  "lastname": "string",
  "title": "string",
  "role": "Member",
  "status": "Accepted",
  "avatarUrl": "string",
  "embedBaseUrls": {
    "default": "string",
    "additionalProperty1": "string",
    "additionalProperty2": "string"
  },
  "customRoleId": "string"
}
Response examples (200)
{
  "id": "string",
  "spotId": "string",
  "userId": "string",
  "email": "string",
  "title": "string",
  "lang": "en",
  "role": "Member",
  "customRoleId": "string",
  "status": "Accepted",
  "firstname": "string",
  "lastname": "string",
  "warnings": 42.0,
  "embedBaseUrls": {
    "default": "string",
    "additionalProperty1": "string",
    "additionalProperty2": "string"
  },
  "updatedAt": 42
}