Skip to main content
  • [DEPRECATED—please use revoke_permission instead] Revokes a credential-level permission from a user or role.

    Parameters

    • name: string

      Name of the user or role from which the permission will be revoked. Must be an existing user or role.

    • permission: string

      Permission to revoke from the user or role.

    • credential_name: string

      Name of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<RevokePermissionCredentialResponse>

    Promise<Types.RevokePermissionCredentialResponse> - Promise resolving to the response