EnableSharingWithAwsOrganization - AWS RAM


Enables resource sharing within your organization in AWS Organizations. Calling this operation enables AWS RAM to retrieve information about the organization and its structure. This lets you share resources with all of the accounts in an organization by specifying the organization's ID, or all of the accounts in an organizational unit (OU) by specifying the OU's ID. Until you enable sharing within the organization, you can specify only individual AWS accounts, or for supported resource types, IAM users and roles.

You must call this operation from an IAM user or role in the organization's management account.

Request Syntax

POST /enablesharingwithawsorganization HTTP/1.1

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "returnValue": boolean }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


A return value of true indicates that the request succeeded. A value of false indicates that the request failed.

Type: Boolean


For information about the errors that are common to all actions, see Common Errors.


The requested operation is not permitted.

HTTP Status Code: 400


The service could not respond to the request due to an internal problem.

HTTP Status Code: 500


The service is not available.

HTTP Status Code: 503

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: