Contractor
Contractors
Upload organization avatar
Upload a new avatar image for the organization. The image must be in PNG, JPG, or WEBP format and less than 1MB. The image will be processed through content moderation. User must have manage_org_details permission. Send multipart/form-data with 'avatar' field containing the image file.
post/api/contractors/{spectrum_id}/avatar
Request
- Base URL: https://api.sc-market.space
- URL: https://api.sc-market.space/api/contractors/{spectrum_id}/avatar
- Auth: userAuth (a scheme the document does not define)
Path parameters
spectrum_idstring required
Organization spectrum ID
Response
Avatar uploaded successfully
Example response
{
"result": "Avatar uploaded successfully"
}Changes
No recorded changes to this operation across all 5 revisions of this API.