Disables the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|
The current API does not require request parameters
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "4951F920-48DB-5731-96AA-3A7C8AE617D9"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | NoPermission | You are not authorized to perform this operation. | You are not authorized to perform the operation. |
404 | NotExists.ResourceDirectory | The resource directory for the account is not enabled. | No resource directory is enabled for the account. |
409 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. | You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2024-03-21 | The Error code has changed | see changesets | ||||||||
| ||||||||||
2023-05-24 | The Error code has changed | see changesets | ||||||||
|