---
updatedAt: 2026-06-08T17:21:56.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/linode-api/llms.txt
---

# Update a user's grants

__Deprecated__ Update the grants for a [restricted](ref:post-user) user. This can be used to give a user access to new entities or actions, or take access away. Omit a grant object from the request to keep its current setting.


> 🚧 RBAC Identity and Access
>
> Grants are now replaced with RBAC Identity and Access. Use the [Update a user's access level](ref:put-iam-users-role-permissions) operation instead. To learn more, see [Identity and Access for Akamai Cloud](https://techdocs.akamai.com/cloud-computing/docs/identity-and-access-cm).


**Permissions and scopes**

To call this operation, you need the following:

- **Identity and access permissions**. Your user needs a role with these permissions assigned. [Learn more](https://techdocs.akamai.com/cloud-computing/docs/identity-access-cm-available-roles).
  - Permissions: `update_user_grants`
- **OAuth scopes**. Your user needs these scopes assigned. [Learn more](https://techdocs.akamai.com/linode-api/reference/get-started#oauth).

  - Scopes: `account:read_write`

# OpenAPI definition

```json
{
  "components": {
    "securitySchemes": {
      "oauth": {
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://login.linode.com/oauth/authorize",
            "scopes": {
              "account:read_only": "Allows access to GET information about your account.",
              "account:read_write": "Allows access to all endpoints related to your account.",
              "child_account:read_only": "Allows access to GET information about deprecated parent/child operations.",
              "child_account:read_write": "Allows access to deprecated parent/child operations.",
              "databases:read_only": "Allows access to GET information about databases.",
              "databases:read_write": "Allows access to all endpoints related to databases.",
              "domains:read_only": "Allows access to GET Domains on your account.",
              "domains:read_write": "Allows access to all Domain endpoints.",
              "events:read_only": "Allows access to GET your Events.",
              "events:read_write": "Allows access to all endpoints related to your Events.",
              "firewall:read_only": "Allows access to GET information about your Firewalls.",
              "firewall:read_write": "Allows access to all Firewall endpoints.",
              "images:read_only": "Allows access to GET your Images.",
              "images:read_write": "Allows access to all endpoints related to your Images.",
              "ips:read_only": "Allows access to GET your ips.",
              "ips:read_write": "Allows access to all endpoints related to your ips.",
              "linodes:read_only": "Allows access to GET Linodes on your account.",
              "linodes:read_write": "Allow access to all endpoints related to your Linodes.",
              "lke:read_only": "Allows access to GET LKE Clusters on your account.",
              "lke:read_write": "Allows access to all endpoints related to LKE Clusters on your account.",
              "longview:read_only": "Allows access to GET your Longview Clients.",
              "longview:read_write": "Allows access to all endpoints related to your Longview Clients.",
              "monitor:read_only": "Allows access to Monitor (Akamai Cloud Pulse) data.",
              "monitor:read_write": "Allows access to GET Monitor (Akamai Cloud Pulse) data.",
              "nodebalancers:read_only": "Allows access to GET NodeBalancers on your account.",
              "nodebalancers:read_write": "Allows access to all NodeBalancer endpoints.",
              "object_storage:read_only": "Allows access to GET information related to your Object Storage.",
              "object_storage:read_write": "Allows access to all Object Storage endpoints.",
              "stackscripts:read_only": "Allows access to GET your StackScripts.",
              "stackscripts:read_write": "Allows access to all endpoints related to your StackScripts.",
              "volumes:read_only": "Allows access to GET your Volumes.",
              "volumes:read_write": "Allows access to all endpoints related to your Volumes.",
              "vpc:read_write": "Allows access to all endpoints related to VPC and Subnet creation, updating, and deletion."
            },
            "tokenUrl": "https://login.linode.com/oauth/token"
          }
        },
        "type": "oauth2"
      },
      "personalAccessToken": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "externalDocs": {
    "description": "See documentation for Akamai's Linode API",
    "url": "https://techdocs.akamai.com/linode-api/reference"
  },
  "info": {
    "description": "\"[Read the API documentation](https://techdocs.akamai.com/linode-api/reference/api).\"",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Administration",
    "version": "4.229.1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/{apiVersion}/account/users/{username}/grants": {
      "put": {
        "deprecated": true,
        "description": "__Deprecated__ Update the grants for a [restricted](https://techdocs.akamai.com/linode-api/reference/post-user) user. This can be used to give a user access to new entities or actions, or take access away. Omit a grant object from the request to keep its current setting.\n\n\n> 🚧 RBAC Identity and Access\n>\n> Grants are now replaced with RBAC Identity and Access. Use the [Update a user's access level](https://techdocs.akamai.com/linode-api/reference/put-iam-users-role-permissions) operation instead. To learn more, see [Identity and Access for Akamai Cloud](https://techdocs.akamai.com/cloud-computing/docs/identity-and-access-cm).\n\n\n**Permissions and scopes**\n\nTo call this operation, you need the following:\n\n- **Identity and access permissions**. Your user needs a role with these permissions assigned. [Learn more](https://techdocs.akamai.com/cloud-computing/docs/identity-access-cm-available-roles).\n  - Permissions: `update_user_grants`\n- **OAuth scopes**. Your user needs these scopes assigned. [Learn more](https://techdocs.akamai.com/linode-api/reference/get-started#oauth).\n\n  - Scopes: `account:read_write`",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Linode API",
          "url": "https://techdocs.akamai.com/linode-api/reference/put-user-grants"
        },
        "operationId": "put-user-grants",
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "firewall": [
                  {
                    "id": 123,
                    "permissions": "read_write"
                  }
                ]
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "database": {
                    "description": "The grants this user has for individual Managed Databases on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "domain": {
                    "description": "The grants this user has for individual domains on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "firewall": {
                    "description": "The grants this user has for individual firewalls on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "global": {
                    "additionalProperties": false,
                    "description": "The grants the user has to all resources on your account.",
                    "properties": {
                      "account_access": {
                        "description": "The level of access this user has to account-level actions, like billing information and user management.\n\n> 📘\n>\n> A `restricted` user can't be used to manage users, even if this is set to `read-write`. Only unrestricted users can manage other users on an account.\n\n__Parent and child accounts__\n\nIn the context of the [parent and child accounts](https://techdocs.akamai.com/cloud-computing/docs/parent-and-child-accounts-for-akamai-partners) feature, use the [Update a user's access level](https://techdocs.akamai.com/linode-api/reference/put-iam-users-role-permissions) to manage delegate user's access.",
                        "enum": [
                          "read_only",
                          "read_write"
                        ],
                        "example": "read_only",
                        "nullable": true,
                        "type": "string"
                      },
                      "add_databases": {
                        "description": "Whether this user can add Managed Databases on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_domains": {
                        "description": "Whether this user can add domains on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_firewalls": {
                        "description": "Whether this user can add Firewalls on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_images": {
                        "description": "Whether this user can create images from disks on your Linodes, on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_linodes": {
                        "description": "Whether this user can create Linodes.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_longview": {
                        "description": "Whether this user can create Longview clients and view the current plan.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_nodebalancers": {
                        "description": "Whether this user can add NodeBalancers on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_stackscripts": {
                        "description": "Whether this user can add StackScripts on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_volumes": {
                        "description": "Whether this user can add volumes on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "add_vpcs": {
                        "description": "Whether this user can add Virtual Private Clouds (VPCs) on the account.",
                        "example": true,
                        "type": "boolean"
                      },
                      "cancel_account": {
                        "description": "Whether this user can cancel the entire account.",
                        "example": false,
                        "type": "boolean"
                      },
                      "child_account_access": {
                        "deprecated": true,
                        "description": "__Deprecated__ In order to provide a parent account user access to a child account, [add them to an account delegation](https://techdocs.akamai.com/linode-api/reference/put-iam-delegation-child-account-users). This is `null` for all non-parent accounts.",
                        "example": true,
                        "nullable": true,
                        "type": "boolean",
                        "x-akamai": {
                          "status": "DEPRECATED"
                        }
                      },
                      "longview_subscription": {
                        "description": "Whether this user can manage your account's Longview subscription.",
                        "example": true,
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  },
                  "image": {
                    "description": "The grants this user has for individual images on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "linode": {
                    "description": "The grants this user has for individual Linodes on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "longview": {
                    "description": "The grants this user has for individual Longview Clients on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "nodebalancer": {
                    "description": "The grants this user has for individual NodeBalancers on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "stackscript": {
                    "description": "The grants this User has for individual StackScripts on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "volume": {
                    "description": "The grants this user has individual Block Storage Volumes on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  },
                  "vpc": {
                    "description": "The grants this user has individual Virtual Private Clouds (VPCs) on this account.",
                    "items": {
                      "additionalProperties": false,
                      "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the resource this grant applies to.",
                          "example": 123,
                          "type": "integer"
                        },
                        "label": {
                          "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                          "example": "example-entity",
                          "readOnly": true,
                          "type": "string"
                        },
                        "permissions": {
                          "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/grant.yaml"
                      }
                    },
                    "type": "array"
                  }
                },
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/grants-response.yaml"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "database": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "domain": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "firewall": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "global": {
                    "account_access": "read_only",
                    "add_databases": true,
                    "add_domains": true,
                    "add_firewalls": true,
                    "add_images": true,
                    "add_linodes": true,
                    "add_longview": true,
                    "add_nodebalancers": true,
                    "add_stackscripts": true,
                    "add_volumes": true,
                    "add_vpcs": true,
                    "cancel_account": false,
                    "longview_subscription": true
                  },
                  "image": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "linode": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "longview": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "nodebalancer": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "stackscript": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "volume": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ],
                  "vpc": [
                    {
                      "id": 123,
                      "label": "example-entity",
                      "permissions": "read_only"
                    }
                  ]
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "database": {
                      "description": "The grants this user has for individual Managed Databases on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "domain": {
                      "description": "The grants this user has for individual domains on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "firewall": {
                      "description": "The grants this user has for individual firewalls on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "global": {
                      "additionalProperties": false,
                      "description": "The grants the user has to all resources on your account.",
                      "properties": {
                        "account_access": {
                          "description": "The level of access this user has to account-level actions, like billing information and user management.\n\n> 📘\n>\n> A `restricted` user can't be used to manage users, even if this is set to `read-write`. Only unrestricted users can manage other users on an account.\n\n__Parent and child accounts__\n\nIn the context of the [parent and child accounts](https://techdocs.akamai.com/cloud-computing/docs/parent-and-child-accounts-for-akamai-partners) feature, use the [Update a user's access level](https://techdocs.akamai.com/linode-api/reference/put-iam-users-role-permissions) to manage delegate user's access.",
                          "enum": [
                            "read_only",
                            "read_write"
                          ],
                          "example": "read_only",
                          "nullable": true,
                          "type": "string"
                        },
                        "add_databases": {
                          "description": "Whether this user can add Managed Databases on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_domains": {
                          "description": "Whether this user can add domains on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_firewalls": {
                          "description": "Whether this user can add Firewalls on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_images": {
                          "description": "Whether this user can create images from disks on your Linodes, on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_linodes": {
                          "description": "Whether this user can create Linodes.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_longview": {
                          "description": "Whether this user can create Longview clients and view the current plan.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_nodebalancers": {
                          "description": "Whether this user can add NodeBalancers on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_stackscripts": {
                          "description": "Whether this user can add StackScripts on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_volumes": {
                          "description": "Whether this user can add volumes on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "add_vpcs": {
                          "description": "Whether this user can add Virtual Private Clouds (VPCs) on the account.",
                          "example": true,
                          "type": "boolean"
                        },
                        "cancel_account": {
                          "description": "Whether this user can cancel the entire account.",
                          "example": false,
                          "type": "boolean"
                        },
                        "child_account_access": {
                          "deprecated": true,
                          "description": "__Deprecated__ In order to provide a parent account user access to a child account, [add them to an account delegation](https://techdocs.akamai.com/linode-api/reference/put-iam-delegation-child-account-users). This is `null` for all non-parent accounts.",
                          "example": true,
                          "nullable": true,
                          "type": "boolean",
                          "x-akamai": {
                            "status": "DEPRECATED"
                          }
                        },
                        "longview_subscription": {
                          "description": "Whether this user can manage your account's Longview subscription.",
                          "example": true,
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    },
                    "image": {
                      "description": "The grants this user has for individual images on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "linode": {
                      "description": "The grants this user has for individual Linodes on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "longview": {
                      "description": "The grants this user has for individual Longview Clients on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "nodebalancer": {
                      "description": "The grants this user has for individual NodeBalancers on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "stackscript": {
                      "description": "The grants this User has for individual StackScripts on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "volume": {
                      "description": "The grants this user has individual Block Storage Volumes on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "vpc": {
                      "description": "The grants this user has individual Virtual Private Clouds (VPCs) on this account.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Represents the level of access a restricted user has to a specific resource on the account.",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the resource this grant applies to.",
                            "example": 123,
                            "type": "integer"
                          },
                          "label": {
                            "description": "__Read-only__ The name of the entity this grant applies to. This is only for display purposes.",
                            "example": "example-entity",
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "description": "The level of access this user has to this entity, either `read_only` or `read_write`. If `null`, this user has no access.",
                            "enum": [
                              "read_only",
                              "read_write"
                            ],
                            "example": "read_only",
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/grant.yaml"
                        }
                      },
                      "type": "array"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/grants-response.yaml"
                  }
                }
              }
            },
            "description": "Grants updated successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "errors": [
                    {
                      "reason": "Invalid JSON"
                    }
                  ]
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "errors": {
                      "description": "Any warnings associated with a response.",
                      "items": {
                        "additionalProperties": false,
                        "description": "An object for describing a single error that occurred during the processing of a request.",
                        "properties": {
                          "field": {
                            "description": "The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as `null` if the error is not specific to any single element of the request.",
                            "example": "fieldname",
                            "type": "string"
                          },
                          "reason": {
                            "description": "What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to [Open a support ticket](https://techdocs.akamai.com/linode-api/reference/post-ticket) or perform some other action before you can complete the request successfully.",
                            "example": "fieldname must be a valid value",
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/error-object.yaml"
                        }
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "See [Errors](https://techdocs.akamai.com/linode-api/reference/errors) for the range of possible error response codes."
          }
        },
        "security": [
          {
            "personalAccessToken": []
          },
          {
            "oauth": [
              "account:read_write"
            ]
          }
        ],
        "summary": "Update a user's grants",
        "tags": [
          "Users"
        ],
        "x-akamai": {
          "status": "DEPRECATED"
        },
        "x-linode-cli-action": "update-grants",
        "x-linode-cli-skip": true,
        "x-linode-grant": "unrestricted only",
        "x-linode-iam": [
          {
            "permissions": [
              "update_user_grants"
            ]
          }
        ]
      },
      "parameters": [
        {
          "description": "__Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.",
          "in": "path",
          "name": "apiVersion",
          "required": true,
          "schema": {
            "enum": [
              "v4",
              "v4beta"
            ],
            "example": "v4",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/api-version-path.yaml"
          }
        },
        {
          "description": "The username to look up.",
          "in": "path",
          "name": "username",
          "required": true,
          "schema": {
            "example": "jsmith",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/username-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/account-grants.yaml",
        "path-info": "/{apiVersion}/account/users/{username}/grants"
      },
      "x-linode-cli-command": "users"
    }
  },
  "servers": [
    {
      "url": "https://api.linode.com"
    }
  ],
  "tags": [
    {
      "description": "Users are individuals on your account that you set up to perform specific tasks. Use these operations to view and manage users, including giving them various levels of access to the services on your account.",
      "name": "Users"
    }
  ],
  "x-akamai": {
    "auth-type": "OAUTH",
    "file-path": "administration.yaml"
  },
  "x-readme": {
    "apply-tag-changes": true,
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [Create a user](https://techdocs.akamai.com/linode-api/reference/post-user.md)
* [List users](https://techdocs.akamai.com/linode-api/reference/get-users.md)
* [Get a user](https://techdocs.akamai.com/linode-api/reference/get-user.md)
* [Update a user](https://techdocs.akamai.com/linode-api/reference/put-user.md)
* [Delete a user](https://techdocs.akamai.com/linode-api/reference/delete-user.md)
* [List a user's grants](https://techdocs.akamai.com/linode-api/reference/get-user-grants.md)