Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request DELETE \ --url https://api.scholarlysoftware.com/api/v1/profiles/{id}/preferred_avatar \ --header 'Authorization: Bearer <token>'
import requestsurl = "https://api.scholarlysoftware.com/api/v1/profiles/{id}/preferred_avatar"headers = {"Authorization": "Bearer <token>"}response = requests.delete(url, headers=headers)print(response.text)
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};fetch('https://api.scholarlysoftware.com/api/v1/profiles/{id}/preferred_avatar', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "errors": [ { "status": "<string>", "title": "<string>", "detail": "<string>" } ] }
{ "errors": [ { "status": "<string>", "title": "<string>", "detail": "<string>" } ]}
Delete the preferred avatar image for a profile. This operation is idempotent - it will succeed even if no preferred avatar exists. The synced avatar, if any, is not affected.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Preferred avatar deleted