⭐ If you find Zipline useful, please consider giving it a star on Github! ⭐

/api/users/{id}

Update another user's profile, credentials, role, and optional file quota limits (admin only).

PATCH/api/users/{id}

Path Parameters

id*string

Request Body

application/json

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/users/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "username": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "role": "USER",  "view": {    "enabled": true,    "disableTextFiles": true,    "align": "left",    "showMimetype": true,    "showTags": true,    "showFolder": true,    "content": "string",    "embed": true,    "embedMediaOnly": true,    "embedTitle": "string",    "embedDescription": "string",    "embedColor": "string",    "embedSiteName": "string",    "discordComponentEmbed": {      "enabled": true,      "id": 0,      "accentColor": "string",      "spoiler": true,      "components": [        {          "type": 1,          "id": 0,          "components": [            {              "type": 2,              "id": 0,              "url": "string",              "label": "string",              "emojiName": "string",              "emojiId": "string",              "emojiAnimated": true,              "disabled": true            }          ]        }      ]    }  },  "avatar": "string",  "quota": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "filesQuota": "BY_BYTES",    "maxBytes": "string",    "maxFiles": -2147483648,    "maxUrls": -2147483648,    "userId": "string"  }}