Choose read, upload or full API-key permission

Choose Read only, Upload only, or Full access from the operation the client needs, then prove both an allowed request and a denied boundary.

Last reviewed

Dosya permissions are separate operation classes rather than a ladder. Upload only does not include reads, and enabled protocols never add missing capabilities.

Four panels compare Read only, Upload only, and Full access, map the client methods to one class, test an allowed request, and verify an operation outside the scope is refused.
Four panels compare Read only, Upload only, and Full access, map the client methods to one class, test an allowed request, and verify an operation outside the scope is refused. Open full-size screenshot.

Permission model

Read only lists and downloads. Upload only owns upload transactions and can create destination folders, but cannot list or delete existing data. Full access covers read, upload, move, delete, and other management mutations, still bounded by the member role and restrictions.

For REST, GET, HEAD, and OPTIONS normally require read. Every /api/upload/* route and POST /api/folders require write. Unclassified mutations fail closed as Full access operations.

Steps

  1. Write down the exact endpoints and methods the client will call, including verification or cleanup requests.
  2. Choose Read only when all required work is listing or downloading, or Upload only when the job only ingests and can verify elsewhere.
  3. Select Full access only when the workflow must rename, move, share, delete, or combine reads with restricted writes.
  4. Add protocol, workspace, origin, usage, and expiry guards without assuming they replace the operation permission.
  5. Generate the key and run one intended request whose status and output prove the chosen capability works.
  6. Run one harmless request outside that class and require This credential's scope is '<scope>' and cannot perform METHOD /path.

Important upload detail

The Upload only card says Add new files. Cannot read or delete what is already there. At the upload endpoint, a live same-name target can be adopted as a new version. Use a unique filename when the integration must never alter an existing file’s version history.

A key’s effective access is the intersection of permission, selected surface, workspace or folder reach, current role, IP and time conditions, usage limits, plan rules, and content locks. Full access does not bypass any of those controls.

Keys cannot be edited after creation. To narrow or widen a production credential, duplicate its available settings, generate a new secret, migrate the client, and revoke the former key after validation.

Expected result

The selected key performs the one required operation class, the deliberate boundary request receives the exact scope refusal, and no restriction is mistaken for an additional grant.

Dosya API-key permission step with read, upload and full access choices for a least-privilege credential.
Choose the narrowest permission and validate both sides of its boundary. Open full-size screenshot.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.