---
updatedAt: 2025-06-12T20:18:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Update cover photo for attendee

this API is used to update cover Photo for attendees on the event portal side

To call this API, the user has to add image upload details and an authentication key to authenticate the user.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Error Code
      </th>

      <th style={{ textAlign: "left" }}>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        200
      </td>

      <td style={{ textAlign: "left" }}>
        Ok
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        201
      </td>

      <td style={{ textAlign: "left" }}>
        Created
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        400
      </td>

      <td style={{ textAlign: "left" }}>
        The request could not be understood by the server due to malformed syntax.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        401
      </td>

      <td style={{ textAlign: "left" }}>
        You are not authorized to view the resource.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        403
      </td>

      <td style={{ textAlign: "left" }}>
        Accessing the resource you were trying to reach is forbidden.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        404
      </td>

      <td style={{ textAlign: "left" }}>
        The resource you were trying to reach is not found.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/event/{eventUrl}/attendee/coverPhoto": {
      "put": {
        "summary": "Update cover photo for attendee",
        "description": "this API is used to update cover Photo for attendees on the event portal side\n\nTo call this API, the user has to add image upload details and an authentication key to authenticate the user.",
        "operationId": "update-cover-photo-for-attendee",
        "parameters": [
          {
            "name": "eventUrl",
            "in": "path",
            "description": "this is unique event Url of your event",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "coverPhoto",
            "in": "query",
            "description": "this is the file name of coverPhoto",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"type\": \"Success\",\n    \"message\": \"Success\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "example": "Success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Success"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```