Log in to the system and log out from the system. For more details, please refer to: https://support.portsip.com/development-portsip/developer-guide/rest-apis/authentication.
Retrieve system metadata information.
If the optional domain
query parameter is specified,
the relevant tenant metadata information will be returned together.
System metadata:
web_domain
private_ipv4
public_ipv4
enable_ipv6
private_ipv6
public_ipv6
primary_dns_server
secondary_dns_server
Tenant metadata:
name
domain
website
avatar_url
enable_ms365_integration
ms365_authorization_endpoint
Use the domain
query parameter to retrieve just a subset of a collection.
Sign in with credentials
false
The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin
, system
, administrator
, and root
are reserved names for system admin only with case ignored.
The password of user.
The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN).
If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain.
The SIP domain name is only used for SIP message authentication and does not require analysis.
Sign in with social account
The name of IdP provider. Currently only supports microsoft.
The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN).
If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain.
The SIP domain name is only used for SIP message authentication and does not require analysis.
The callback url for authentication flow.
Initiate authentication forget password flow.
The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN).
If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain.
The SIP domain name is only used for SIP message authentication and does not require analysis.
The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin
, system
, administrator
, and root
are reserved names for system admin only with case ignored.
The callback url for authentication flow.
No content
Login with username and password.
The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin
, system
, administrator
, and root
are reserved names for system admin only with case ignored.
The password of user.
The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN).
If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain.
The SIP domain name is only used for SIP message authentication and does not require analysis.
No content
login with Microsoft Identity Provider by Authorization Code Flow.
The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN).
If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain.
The SIP domain name is only used for SIP message authentication and does not require analysis.
No content