Updates the permission assignment for a user, group, or workspace within the package, modifying their role and access level.
Authorization: Requires package admin or modeler permissions.
Parameters: Use isWorkspace to specify if the resource is a workspace.
Validation: Role changes are validated against package constraints.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the organization Standard identifier pattern for resource names
The unique identifier of the project Standard identifier pattern for resource names
The unique identifier of the package Standard identifier pattern for resource names
The resource identifier of the User or Group Permissions for this package. A resource identifier that uniquely identifies either a user or a group within the system. This identifier is used throughout the API for permission management and access control.
Format:
user:{email} or user:{userId}group:{groupName}Whether the resource is a workspace
Represents a permission assignment for a user, group, or workspace within a package
A resource identifier that uniquely identifies either a user or a group within the system. This identifier is used throughout the API for permission management and access control.
Format:
user:{email} or user:{userId}group:{groupName}Set if this PackagePermission grants Package access to a workspace (not a user)
The role/permission level granted to the user, group, or workspace
admin, modeler, viewer The permission level inherited from parent project or organization
admin, modeler, viewer Optional message or note about the permission assignment
ISO 8601 timestamp indicating when the permission was created
ISO 8601 timestamp indicating when the permission was last modified
Package permission updated successfully
Represents a permission assignment for a user, group, or workspace within a package
A resource identifier that uniquely identifies either a user or a group within the system. This identifier is used throughout the API for permission management and access control.
Format:
user:{email} or user:{userId}group:{groupName}Set if this PackagePermission grants Package access to a workspace (not a user)
The role/permission level granted to the user, group, or workspace
admin, modeler, viewer The permission level inherited from parent project or organization
admin, modeler, viewer Optional message or note about the permission assignment
ISO 8601 timestamp indicating when the permission was created
ISO 8601 timestamp indicating when the permission was last modified