Generate repo api token

Generate a repo API token (API-Token) for a library using the user's Account-Token. The API-Token grants access to this one library only and is used for all Via Repo-Token operations.

Only the library owner (or an administrator of the department owning a department library) can generate tokens. app_name must be unique per library. If permission is omitted, the token gets read-write permission (rw).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$

The unique identifier of a library

Body Params
string
enum
Defaults to rw

Permission of the token: r (read-only) or rw (read-write)

Allowed:
string
required

Name of the application using the token (unique per library)

Responses

400

app_name missing, invalid permission, or a token with this app_name already exists

403

Permission denied (not owner of the library)

404

Library not found

Language
Credentials
Bearer
Account-Token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json