S3Control / Client / delete_access_point_scope
delete_access_point_scope¶
- S3Control.Client.delete_access_point_scope(**kwargs)¶
Deletes an existing access point scope for a directory bucket.
Note
When you delete the scope of an access point, all prefixes and permissions are deleted.
To use this operation, you must have the permission to perform the
s3express:DeleteAccessPointScope
action.For information about REST API errors, see REST error responses.
Warning
You must URL encode any signed header values that contain spaces. For example, if your header value is
my file.txt
, containing two spaces aftermy
, you must URL encode this value tomy%20%20file.txt
.See also: AWS API Documentation
Request Syntax
response = client.delete_access_point_scope( AccountId='string', Name='string' )
- Parameters:
AccountId (string) –
[REQUIRED]
The Amazon Web Services account ID that owns the access point with the scope that you want to delete.
Name (string) –
[REQUIRED]
The name of the access point with the scope that you want to delete.
- Returns:
None