---
title: "Update invite/request with an asset permission"
method: POST
path: "/businesses/{business_id}/invites/assets/access"
tags: ["business_access_invite"]
---

# Update invite/request with an asset permission

`POST /businesses/{business_id}/invites/assets/access`

Assign asset permissions information to an existing invite/request. Can be used to:
- Request access to a partner's asset. Note: This is only for when no existing partnership exists. If an existing
  partnership exists, use "Create a request to access an existing partner's assets" to request access to your
  partner's assets.
    - invite_type="PARTNER_REQUEST"
- Invite a partner to access your business assets. Note: This is only for when there is no existing partnership.
  If there is an existing partnership, use "Assign/Update partner asset permissions" to assign a partner access to
  new assets.
    - invite_type="PARTNER_INVITE"
- Invite a member to access your business assets. Note: This is only for when there is no existing membership.
  If there is an existing membership, use "Assign/Update member asset permissions" to assign a member access to new
  assets.
    - invite_type="MEMBER_INVITE"

To learn more about permission levels, visit https://help.pinterest.com/en/business/article/business-manager-overview.

## Path parameters

- `business_id` string, required

## Request body

- CreateAssetInvitesRequest — Request body for updating asset roles for existing invites.
  - `invites` CreateAssetInvitesRequestItem[], required
    - `asset_id_to_permissions` AssetIdToPermissions, required — An object mapping asset ids to lists of business permissions. This can be used to setting/requesting permissions on various assets. If accepting an invite or request, this object would be used to grant asset permissions to the member or partner.
    - `invite_id` string, required — Unique identifier of an invite.
    - `invite_type` 'MEMBER_INVITE' | 'PARTNER_INVITE' | 'PARTNER_REQUEST', required — The type of invite. MEMBER_INVITE invites a member to access your business assets. PARTNER_INVITE invites a partner to access your business assets. PARTNER_REQUEST requests access to a partner's business assets.

## Response `200`

The request has succeeded.

- UpdateInvitesResultsResponseArray
  - `items` InviteActionResultItem[] — List of invite/Request action status. If there is an error, an exception object will be returned. If the action was successfully completed, an invite object will be returned.
    - `exception` InviteExceptionResponse, nullable — An exception object if there is an error performing the action. Will only be provided if there is an error.
      - `code` integer — Error code associated with the error in performing the action on the invite/request.
      - `invite_or_request_id` string, nullable — Unique identifier of the invite/request.
      - `message` string — Error message associated with the error in performing the action on the invite/request.
      - `users_or_partner_ids` string[] — A list of users' usernames or emails OR a list of partner ids that caused the error.
    - `invite` InviteBusinessRoleBinding, nullable — An invite object if the invite/request was successfully updated. Will only be provided if the an invite/request is successfully updated.
      - `created_by_business_id` string — Unique identifier for the business that created the invite/request.
      - `created_by_user_id` string — Unique identifier for the user that created the invite/request.
      - `id` string — Unique identifier of the invite/request.
      - `invite_data` InviteDataResponse — Metadata for the invite/request.
        - `invite_expiration` integer — The date and time when the invite/request will expire. Returned in milliseconds.
        - `invite_status` string — The current status of the invite. The invite can be in one of the following states PENDING, ACCEPTED, DECLINED, CANCELLED, EXPIRED.
        - `invite_type` string — The type of invite. - 'MEMBER_INVITE' is to invite a member to access your business assets. - 'PARTNER_INVITE' is to invite a partner to access your business assets. - 'PARTNER_REQUEST' is to request access a partner's business assets.
        - `last_updated_time` integer — The date and time the invite/request was last updated. Returned in milliseconds.
        - `sent_at` integer — The date and time the invite/request was sent/created. Returned in milliseconds.
      - `is_received_invite` boolean — Indicates whether the invite/request was received.
      - `user` BusinessAccessUserSummary — Metadata of the member/partner that has access to the asset.
        - `email` string, nullable — Email of the business member/partner.
        - `id` string, nullable — Unique identifier of the business member/partner.
        - `username` string, nullable — Username of the business member/partner.

## Other responses

- `201` — Resource create operation completed successfully.
- `400` — The request could not be understood by the server due to unexpected data.
- `401` — Authentication is required and has either failed or not been provided.
- `403` — The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.
- `404` — The requested resource could not be found on this server.
- `429` — The user has sent too many requests in a given amount of time and is being rate limited.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/pinterest/apis/pinterest-rest-api.md) · [All operations](https://skmtc.net/pinterest/apis/pinterest-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinterest/pinterest-rest-api/revisions/b698c180678a/schema)
