Authentication

VOCUS REST APIs use basic authentication, with identity evidence sent as part of the HTTP request in the form of headers. Calls are only allowed over TLS.

Identity evidence takes the form of service account credentials. Optional headers can be added to change the scope of the call.

Remember, a service account can act on behalf of any user account or domain in its scope. Its credentials should be stored carefully.

URL Method Notes
https://api.polarisaerotest.com/diagnostics/echoidentity GET Returns identity data built from the evidence presented in the HTTP authorization header and any related headers.

Authenticating with a Service Account

Information is passed as the HTTP authorization header and takes the form of basic [username]:[password]. A well-formed header will include the string "basic" followed by a single whitespace and a base64 encoded string with the username, a colon, and the password.

Example: basic YV9zZXJ2aWNlX2FjY291bnQ6YV9zdHJvbmdfcGFzc3dvcmQ=

JavaScript

c#

Troubleshooting


Impersonating a User Account

An additional header can be added to specify that the service account is making the call on behalf of a user account. Operations within the call will reflect the identity of the impersonated user, including the domain to which they belong. This is especially desirable when that user's actions initiated the call, as they will be indicated as the actor in logs, histories, notifications, etc.

JavaScript

c#


Using an Alternate Domain

An additional header can be added to specify that the service account wishes to act against a different domain than it belongs to. This allows a single service account to manage an enterprise domain by manipulating the user accounts and tails in a specific domain, or even to create new domains. Alternate domain indication cannot be combined with user account impersonation. Impersonating a user account will always act against the domain to which that account belongs.

JavaScript

c#


API Version 14.2.9284.29055

Copyright ©2008-2025 Polaris Aero, LLC.