Upload Profile Avatar
POST /profile/avatar
Set the key-holder’s profile picture. Multipart, like the app.
Stored, then written to the identity provider. synced_to_propelauth is
false when that second write failed: the picture is saved and the next
identity sync picks it up, so it is a soft warning rather than an error.
A file of the wrong type or over 5 MB is a 400.
Authorizations
Parameters
Header Parameters
Request Body required
object
JPEG, PNG or WebP, 5 MB at most.
Responses
200
Successful Response
object
An open envelope for a single role, team, member or account record.
Open on purpose. The app’s own response models on this surface grow with
the product - RoleResponse gained rep_limits and manages_role_slugs,
TeamResponse gained channel counts and a campaign count - and a pinned
mirror would SILENTLY DROP whatever it had not caught up on. A dropped
permission in a role read is the worst possible kind of stale: it reads as
“they do not have it”.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error