API Tab
API Tab
The API tab in Settings is the place where we manage Applications. These Applications refer to 3rd party systems requiring API access for reading or managing resources within Yunibas.
Applications specifically denote third-party applications that will be authorized to access a tenant’s data via the API.
API tab overview
The “Tenant ID” and “API Key” values can be copied by click on the copy icon in front of them. These values will be needed to make API calls into Yunibas.
The “API Key” has an optional expiration. If expired, it will no longer be valid.
A new “API Key” can be generated at any time. The expiration will be based on the Application settings.
Add Application
Follow below steps to add application
Click on the "Add Application" button located on the API tab.
Add application form will be shown.
You are prompt to fill below details
Name: Typically the name of the system making the API calls
Description: Typically a reminder to admin the purpose of allowing these API calls
Expiration: How long the API key will be good for each time it is generated
7 Days
30 Days
90 Days
Custom
No expiration
Permissions: Defines the permissions available to this API key
Save
On add, an API key will be generated
Click the "Save" button or icon to generate the API card.
Application card will be generate and confirmation message will be shown.
On created application card expiration days will be shown to indication in how many days this application will be expired.
Configure Application
Follow below steps to configure application created on API tab
Click anywhere on the application card on the API tab to configure
Application modification/setting form will be shown.
You can configure the application below field -
Name
Description
Permission
Note - On update, the existing API key will be unchanged. So expiration field will not be configured.
Click Save button or Icon to save the changes.
Application card will be saved and confirmation message will be shown.
Regenerate API Key
Click on the "Regenerate Key" button located on the application card to generate the new API key. On new API key generation confirmation message will be shown.
Delete Application
On clicking “Delete“ button located on the application card a confirmation message will be shown.
Click on the confirm button on the confirmation pop up.
Application card will be deleted and confirmation message will be shown.