Sets your avatar in this workspace.
Stores the uploaded image in this workspace and makes it your avatar here. Avatars are per workspace, because a workspace's files live in its own storage: the console sends the same picture to each workspace you belong to. The image must be a PNG, JPEG, GIF or WebP of at most 10 MB, recognised by its content rather than its declared type. Only you can set your own avatar, from a signed-in session; API keys cannot.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
Your own user id. Any other id is refused.
The tenant identifier
Request Body
multipart/form-data
The image.
Response Body
curl -X PUT "https://api.fruxon.com/v1/tenants/string/users/string/avatar"{
"id": "string",
"username": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"avatarFileId": "string",
"status": "INVITED",
"role": "ADMIN",
"effectiveScopes": [
"string"
],
"canCreateWorkspace": false,
"canChooseCell": false,
"solutionPartners": [
{
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"role": "ADMIN",
"status": "APPLIED",
"canProvision": false
}
],
"staffRole": "SUPPORT",
"createdAt": 0,
"modifiedAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Removes your avatar in this workspace.
Other workspaces keep theirs. Only you can remove your own avatar, from a signed-in session.
Removes a member and immediately revokes their tenant access.
Removes the membership, personal API keys, and per-agent grants in one transaction. If the member was the sole explicit Admin on an agent, the acting Admin/Owner is assigned first. Owners can only be removed by another Owner, and the final Owner cannot be removed.