Instant Messaging & Presence¶
Display tenant’s instant messaging & presence¶
-
GET
/api/v1/tenants/
(string: tenant_id)/services/instant_messaging_presence/
¶ Retrieve the settings of the Instant Messaging & Presence service of the tenant.
Example request:
GET /api/v1/tenants/foo/services/instant_messaging_presence/ HTTP/1.1 Host: example.com
Example response:
HTTP/1.1 200 OK Content-Type: "application/json" { "useSystemServiceDomain": false, "serviceDomain": "fooTenant" }
- Response JSON Object:
useSystemServiceDomain (boolean) – use the system service domain.
serviceDomain (string) – the domain of service for this Tenant if not using the System one.
- Status Codes:
200 OK – no error
Update a tenant’s instant messaging & presence¶
-
PUT
/api/v1/tenants/
(string: tenant_id)/services/instant_messaging_presence/
¶ Update the settings of the Instant Messaging & Presence service of the tenant.
Example request:
PUT /api/v1/tenants/foo/services/instant_messaging_presence/ HTTP/1.1 Host: example.com Content-Type: "application/json" { "useSystemServiceDomain": false, "serviceDomain": "fooTenant" }
- Request JSON Object:
useSystemServiceDomain (boolean) – use the system service domain.
serviceDomain (string) – the domain of service for this Tenant if not using the System one.
Example response:
HTTP/1.1 200 OK
- Status Codes:
200 OK – no error
400 Bad Request – invalid data