Support access codes
Give evalink support temporary, limited access to your company with a code, and end that access when you want. Support access codes exist only in the API: there is no screen for them in evalink talos.
What a support access code is
evalink support can step into your company to help you. Without a code, they work with your company's default administrator role. With a support access code, they get only the permissions of the user type you bind the code to, and only until the code expires or you revoke it.
- A code has six letters and digits, shown as
XXX-XXX. Codes are not case-sensitive. - The code is returned only once, when you create it. It can't be retrieved later.
- These calls work only when you are signed in as a user. API tokens can't create, list, revoke or hide codes.
See also: How evalink support gets into your company.
Create a support access code
Send POST /api/oauth-service/support-access-codes with:
| Field | Value |
|---|---|
userTypeId |
Required. The user type whose permissions support gets. It must belong to your company and be marked for external access. |
expiration |
Required. HOURS_24, HOURS_48, HOURS_72, WEEK_1, WEEKS_2, MONTH_1 or CUSTOM |
customExpiresAt |
Only for CUSTOM: the expiry time in epoch milliseconds, between 5 minutes and 365 days from now |
companyId |
Optional. Defaults to your own company. |
curl -X POST -H 'Authorization: Bearer <token>' -H 'Content-Type: application/json' \
-d '{"userTypeId":"<userTypeId>","expiration":"WEEK_1"}' \
'https://talos.evalink.io/api/oauth-service/support-access-codes'
The response contains the code in code. Copy it and give it to evalink support.
You can only bind a code to a user type whose permissions you hold yourself. Otherwise the call fails with 403 and lists the permissions you are missing.
List your support access codes
Send GET /api/oauth-service/support-access-codes. Each code shows its status (ACTIVE, EXPIRED or REVOKED), when it expires, and when and by whom it was last used.
Revoke a support access code
To end support access before the code expires, send POST /api/oauth-service/support-access-codes/{id}/revoke. Sessions already opened with the code end at once.
Hide a support access code
To remove a code from the list, send POST /api/oauth-service/support-access-codes/{id}/hide.
Hiding a code does not end access. To end access, revoke the code.