Upload asset

POST /api/user-assets

Upload a user asset.

Responses

  • 200 application/json

    An object containing the uploaded asset metadata.

    Hide response attribute Show response attribute object
  • Unauthorized

  • Forbidden

POST /api/user-assets
curl \
 -X POST https://[tenant_id].logto.app/api/user-assets \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "url": "string"
}