---
title: "Updating an existing Account Invitation"
method: PUT
path: "/account_invitations/{id}"
tags: ["Account Invitations"]
---

# Updating an existing Account Invitation

`PUT /account_invitations/{id}`

## Request

- Base URL: `https://api.mavenlink.com/api/v1`
- URL: `https://api.mavenlink.com/api/v1/account_invitations/{id}`
- Auth: none declared

This endpoint returns structured Account Invitation objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the `results` array
and will be indexed by ID in the `account_invitations` top-level JSON key.
Please see our [Response Format](#section/Response-Format) section for more information.

## Path parameters

- `id` integer, required

## Query parameters

- `include` string

## Request body

- object
  - `account_invitation` object
    - `billability_target` integer
    - `bill_rate_in_cents` integer: The default billing rate, in cents, for the user in a workspace on this account (when the workspace does not use a rate card). This attribute can only be set if the current user is either an Administrator or a Project Lead on the account.
    - `cost_rate_in_cents` integer: The default cost rate used, in cents, for the user in a workspace on this account. This attribute can only be set if the current user is an Administrator on the account.
    - `default_role_id` integer: The internal ID for the default role specified to the invited user.
    - `permission` string: The permission level of the invited user. See account_memberships for more details. Valid values include administrator, reports_viewer_with_cost, reports_viewer, project_lead, project_creator, collaborator, and punch_clock.".

## Response `200`

Account Invitation has been updated.

- object
  - `count` integer
  - `meta` object
    - `count` integer
    - `page_count` integer
    - `page_number` integer
    - `page_size` integer
  - `results` object[]
    - `key` string
    - `id` string
  - `account_invitations` object
  - `users` object
  - `roles` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized request
- `403`: Forbidden request
- `404`: Page Not Found
- `422`: Unprocessable Entity
- `503`: Service is unavailable

---

[API](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation.md) - [All operations](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/revisions/9d4ebed2fa98?raw)
