Update Room

PUT https://api.jelou.ai/v1/rooms

Path Parameters

NameTypeDescription

roomId*

String

Request Body

NameTypeDescription

name

String

channel

String

channelProvider

String

type

String

{
    // Response
  "message": [
    "Room Updated succesfully!"
  ],
  "statusMessage": "success",
  "status": 1,
  "data": <RoomObject>
}

Example

curl --request PUT \
  --url 'https://api.jelou.ai/v1/rooms/G:+123456789000:593992967007@c.us' \
  --header 'Authorization: Basic NzMyZDU4YWYtODM3Ni00MTcwLWE2YzItYWZiZmE4N2M4MzA5OjFkZGY5YzI0LWUzNDgtNDI5NC1hNTYyLThkN2Y5MWY3MzlhNw==' \
  --header 'Content-Type: application/json' \
  --data '{
	"name": "Jhon Doe"
}'

Last updated