business_access_invite

Accept or decline an invite/request

Changed on

Accept or decline invites or requests.

patch/businesses/invites

Request

Request body

Example request

{
  "invites": [
    {
      "action": {
        "asset_id_to_permissions": {
          "549760723247": [
            "ANALYST"
          ],
          "549760723248": [
            "ANALYST",
            "ADMIN"
          ],
          "809944451643622187": [
            "PROFILE_PUBLISHER"
          ]
        }
      }
    }
  ]
}

Response

The request has succeeded.

Example response

{
  "items": [
    {
      "exception": {
        "code": 403,
        "invite_or_request_id": "383791336903426391",
        "message": "You hit the maximum number of pending invites allowed.",
        "users_or_partner_ids": [
          "businessMember0101",
          "business+member@business.com"
        ]
      },
      "invite": {
        "id": "383791336903426391",
        "user": {
          "email": "business0101@business.com",
          "id": "549755885175",
          "username": "business0101"
        }
      }
    }
  ]
}

Changes

    • breaking

      the // response's property type changed from object to no type for status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • info

      added the new BIZ_PINNER_LIST_SHARER enum value to the request property /////

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added to the // response property allOf list for the response status

    • info

      added the new CONSUMER_USER enum value to the request property /////