Disable or re-enable a user
Admin only. On the control plane a disabled user's sessions stop at once on the replica that handled this call and within 30 seconds on the others, which is how long each caches a user row; on drop hosts they stop within 30 seconds too, and a cookie issued before the disable stays refused after a re-enable. Their tokens stop at once everywhere, because a bearer token reads the user row on every request. An admin cannot disable themselves, and the last enabled admin cannot be disabled by anyone.
Admin only. On the control plane a disabled user's sessions stop at once on the replica that handled this call and within 30 seconds on the others, which is how long each caches a user row; on drop hosts they stop within 30 seconds too, and a cookie issued before the disable stays refused after a re-enable. Their tokens stop at once everywhere, because a bearer token reads the user row on every request. An admin cannot disable themselves, and the last enabled admin cannot be disabled by anyone.
AuthorizationBearer <token>A personal access token, odp_ followed by 43 characters. Create one in the dashboard.
id*stringThe user id, as it appears in a drop's owner.
The changes.
application/json- body
disabled*booleanThe user.
application/json- response
admin*booleancreatedAt*stringdate-timedisabledAt*|null when the user is active.
date-timeemail*stringid*stringULID.
lastLoginAt*stringdate-timename*stringstats*curl -X PATCH 'https://drop.example.com/api/v1/admin/users/string' \ -H 'Content-Type: application/json' \ -d '{ "disabled": true}'{ "admin": true, "createdAt": "2019-08-24T14:15:22Z", "disabledAt": "2019-08-24T14:15:22Z", "email": "string", "id": "string", "lastLoginAt": "2019-08-24T14:15:22Z", "name": "string", "stats": { "drops": 0, "liveBytes": 0 }}Generated from dropshelf core at 6a548b2, 26 Nov 2026.
Change my bio PATCH
Text, trimmed, at most profiles.maxBioBytes bytes, which GET /api/v1/instance reports. The cap counts the bytes of the text itself, not of the JSON that carries it. Control characters are refused, a newline, a carriage return and a tab excepted.
Upload a site's zip with a ticket POST
Send the ticket from createUploadTicket in the X-Dropshelf-Upload header and the zip as the body. The upload is always a draft: it creates the drop or a new version of it without making it live, and the member publishes it with publishVersion (publish_version over MCP). Query parameters are ignored: the ticket decides the drop, and for a new one its retention and visibility. The ticket is spent by an accepted upload. An upload refused by the deploy rules (a deploy in progress, the drop limit, a rejected zip, a busy replica) gives it back for a retry until it expires; one refused because the member can no longer upload, because the drop changed since the ticket was issued, or because a new drop's name was taken since, spends it. Revoking the token that asked for the ticket does not revoke the ticket: it still expires within ten minutes and can only make a draft that token can no longer publish. Same answer as createDrop.