NOTE: Trivore ID Documentation has moved to https://trivoreid.com
The content on this site IS OUT OF DATE!
This space has been archived!
Please go ahead to the new site!
Authorisations API Usage Examples
The Authorisations API can be used to view and manage Authorisation objects.
The complete up-to-date API documentation is accessible from the Management API documentation. This article describes some of the basic features with examples.
Creating an Authorisation
A new Authorisation can be created by a client or an user with the required permission to create Authorisations.
In this example an Authorisation to file for permit is created between two Users.
Response to successful request includes all details about the new Authorisation:
Listing Authorisations delegated to an User
In this example we list the active Authorisations which have been delegated to a specific User.
The response includes the Authorisation we just created.
Revoking an Authorisation
In this example we revoke the Authorisation which was created previously. We also give a reason for the revocation.
The response includes all details of the now revoked Authorisation. The changed parameters include revoked
, revokedAt
, revocationDetails
, active
.