product:chat

Update live location

Changed on

Updates an existing live location with new coordinates or expiration time

put/users/live_locations

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/users/live_locations
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Query parameters

user_idstring

Request body

end_atstring date-time

Time when the live location expires

latitudenumber double

Latitude coordinate

longitudenumber double

Longitude coordinate

message_idstring required

Live location ID

Response

Successful response

channel_cidstring required

Channel CID

created_atstring date-time required

Date/time of creation

created_by_device_idstring required

Device ID that created the live location

durationstring required
end_atstring date-time

Time when the live location expires

latitudenumber double required

Latitude coordinate

longitudenumber double required

Longitude coordinate

message_idstring required

Message ID

updated_atstring date-time required

Date/time of the last update

user_idstring required

User ID

Changes

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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