Mailboxes > Accesses > Webmail

List of accesses for the current user

Changed on

Returns list of accesses for the current user

get/1/mail_hostings/accesses/webmail

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/1/mail_hostings/accesses/webmail
  • Auth
    HTTP bearer

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

pageinteger
per_pageinteger
return'total'

Optional : If you pass this parameter with the value total, then the response will be the number of items in the collection, instead of the items themselves.<br /> Part of the total capacity

pageinteger

Optional parameter that define the page number<br /> Part of the pagination capacity

per_pageinteger

Optional parameter that define the number of items per page<br /> Part of the pagination capacity

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

totalinteger

Total number of items Added when using query parameter page

pageinteger

Number of the current page Added when using query parameter page

pagesinteger

Total number of pages Added when using query parameter page

items_per_pageinteger

Number of items per page Added when using query parameter page

Example response

{
  "result": "success",
  "data": [
    {
      "id": 123456,
      "user": {
        "id": 123456
      },
      "creator": {
        "id": 123456
      },
      "status": "healthy"
    }
  ],
  "total": 221,
  "page": 2,
  "pages": 15,
  "items_per_page": 15
}

Changes

    • warning

      deleted the query request parameter page

    • warning

      deleted the query request parameter per_page

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter per_page

    • warning

      deleted the query request parameter page

    • warning

      deleted the query request parameter per_page

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter per_page