Update Event Type Host
DevelopingPATCH
/v1/event_types/{uid}/hosts/{userId}This API can be used to update information on the host of the event type page, such as round-robin priority settings.
Request
Path Params
uid
string
required
userId
string
required
Body Params application/json
priority
number
optional
Round Robin Priority of the host
>= 0<= 3
Example
{
"priority": 0
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object (Host)
required
uid
string
required
Unique ID of the host
name
string
required
Name of the host
email
string <email>
required
Email of the host
profileImage
string | null
required
Profile image URL of the host
role
enum<string>
required
Role of the host
Allowed values:
admineditorviewer
priority
number
required
Round Robin Priority of the host
>= 0<= 3
userType
enum<string>
required
User type of the host
Allowed values:
hostnotifyHost
ExampleUpdate priority as 2
{
"priority": 2
}
Last modified: 3 months ago