Skip to content
TK Portal Documentation
Account API
latest

Account Management API🔗

Account ID🔗

Retrieve the external ID of an account🔗

/portal/config/user/externalId

GET /portal/config/user/externalId

Method Media Type Description
GET application/text Retrieve the external ID of an account

Stylesheets🔗

Update index page CSS🔗

/portal/config/css/indexpage

PUT /portal/config/css/indexpage

Method Media Description
PUT application/json Update the CSS of the index page. A list of CSS URLs can be submitted

Request🔗

Important

  • The URLs are validated: only .css files and valid URLs are accepted.
  • The URLs can be a full URL, or a path relative to the TK Portal root.
[
    {
        "css": "http://otherwebsite.com/css/customstyle.css"
    },
    {
        "css": "css/othercustom.css"
    }
]

Response🔗

200 OK or HTTP error

Update Search! environment CSS🔗

/portal/config/css/<searchRef>

PUT /portal/config/css/<searchRef>

Method Media Description
PUT text/plain Update the CSS URL for a Search! environment. Searchref is the ID of one of the Search! environments

Request🔗

Important

  • The URLs are validated: only .css files and valid URLs are accepted.
  • The URLs can be a full URL, or a path relative to the TK Portal root.
[
    {
        "css": "http://otherwebsite.com/css/customstyle.css"
    }
]

Response🔗

200 OK or HTTP error