⚠️ This documentation is not complete and will change. Documentation and API References are actively being updated.
curl --request POST \
--url https://api.propops.app/api/users/avatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form action=upload \
--form user_uuid=660e8400-e29b-41d4-a716-446655440001 \
--form csrf_token=abc123def456 \
--form avatar='@example-file'{
"success": true,
"message": "Operation completed successfully"
}Upload a new avatar image for a user account. Required permission: api.users.avatar.manage
curl --request POST \
--url https://api.propops.app/api/users/avatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form action=upload \
--form user_uuid=660e8400-e29b-41d4-a716-446655440001 \
--form csrf_token=abc123def456 \
--form avatar='@example-file'{
"success": true,
"message": "Operation completed successfully"
}All API requests must include a valid Bearer token in the Authorization header.
Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.
Example:
Authorization: Bearer a1b2c3d4e5f6...