Skip to content

Latest commit

 

History

History
160 lines (97 loc) · 4.43 KB

revoke-db-access-a0265c4.md

File metadata and controls

160 lines (97 loc) · 4.43 KB

revoke-db-access

This command revokes the database access permissions given to another subaccount.

Remember:

SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.

For more information, see SAP Note 3351844.

Tip:

This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform ↗️.

neo revoke-db-access --account <subaccount_ID> --user <e-mail_or_user> --host <host> --id <database_ID> 
--to-account <to-subaccount_technical_name> --permissions <permission_type>

Parameters

Required

-a, --account

ID of the subaccount providing the database.

Type: string (up to 30 characters; lowercase letters and numbers, starting with a letter)

-u, --user

Use your e-mail, SAP ID, or user name

Type: string

-p, --password

To protect your password, enter it only when prompted by the console client and not explicitly as a parameter in the properties file or the command line.

Type: string

-h, --host

Enter a region host.

Type: URL. For acceptable values see Regions ↗️.

Optional

-i, --id

ID of the database to which access will be revoked.

-to-account

The subaccount from which access permissions will be revoked.

-permissions

Comma-separated list of ther permissions to be revoked. Acceptable values: 'TUNNEL', 'BINDING'.

Example

neo revoke-db-access --account myProviderSubaccount --user [email protected] --host hana.ondemand.com --id myDB --to-account myConsumerSubaccount --permissions BINDING

Related Information

grant-db-access

list-db-access-permissions

Managing Access Permissions ↗️

Sharing Databases in the Same Global Account ↗️