Account Access Schema
User permissions and access levels for account operations
The Account Access schema defines the structure and properties of account access objects in the Payload API. Account access objects represent user permissions and access levels for specific accounts, allowing fine-grained control over account operations.
Account Access Object Properties
Complete reference for all properties available in the Account Access schema
access_levelenum[string]Immutable
The level of access the user has to this account. Possible values: full (complete access to all account features), limited (restricted access to specific features), or owner (highest level with ability to manage other users). This cannot be changed after creation; create a new access grant to modify permissions.
Values:
full, limited, owneraccount_idstringRequired
The unique identifier of the account that the user can access. This can be a customer account, processing account, or organization. (ID prefix: acct)
Pattern:
^acct_[A-Za-z0-9]+$account_namestringRequiredRead-only
The display name of the account. This is read-only and reflects the current name of the associated account for easy reference and display.
Max length: 72
account_typestringRequiredRead-only
The type of account being accessed. Possible values: customer, processing, org, or generic. This is read-only and helps determine what features are available.
Max length: 10
attrsobject
Custom attributes for extending the resource with additional key-value pairs. Maximum length is 255 characters when serialized.
created_atstring (date-time)Read-only
Timestamp when the resource was created. Automatically set by the system and immutable.
idstringRead-only
Unique identifier for the resource. Automatically generated upon creation and cannot be modified. (ID prefix: aa)
Pattern:
^aa_[A-Za-z0-9]+$modified_atstring (date-time)Read-only
Timestamp when the resource was last modified. Automatically updated whenever any field changes.
objectenum[string]Read-only
String representing the object type for this resource.
Values:
account_accessuser_id ID of UserstringRequired
The unique identifier of the user who has access to this account. This establishes the user-account relationship and determines what the user can see and do within the account. (ID prefix: usr)
Pattern:
^usr_[A-Za-z0-9]+$