Applications applicationId Unshare
URI
/applications/
applicationId
/unshare
HTTP methods
POST
Operation ID: UnshareApplication
Unshares an application from an AWS Organization.
This operation can be called only from the organization's management account.
Name | Type | Required | Description |
---|---|---|---|
applicationId | String | True | The Amazon Resource Name (ARN) of the application. |
Status code | Response model | Description |
---|---|---|
204 | None | Success |
400 | BadRequestException | One of the parameters in the request is invalid. |
403 | ForbiddenException | The client is not authenticated. |
404 | NotFoundException | The resource (for example, an access policy statement) specified in the request doesn't exist. |
429 | TooManyRequestsException | The client is sending more than the allowed number of requests per unit of time. |
500 | InternalServerErrorException | The AWS Serverless Application Repository service encountered an internal error. |
OPTIONS
Name | Type | Required | Description |
---|---|---|---|
applicationId | String | True | The Amazon Resource Name (ARN) of the application. |
Status code | Response model | Description |
---|---|---|
200 | None | 200 response |
Schemas
Request bodies
{ "organizationId": "string" }
Response bodies
Properties
BadRequestException
One of the parameters in the request is invalid.
Property | Type | Required | Description |
---|---|---|---|
errorCode | string | False | 400 |
message | string | False | One of the parameters in the request is invalid. |
ForbiddenException
The client is not authenticated.
Property | Type | Required | Description |
---|---|---|---|
errorCode | string | False | 403 |
message | string | False | The client is not authenticated. |
InternalServerErrorException
The AWS Serverless Application Repository service encountered an internal error.
Property | Type | Required | Description |
---|---|---|---|
errorCode | string | False | 500 |
message | string | False | The AWS Serverless Application Repository service encountered an internal error. |
NotFoundException
The resource (for example, an access policy statement) specified in the request doesn't exist.
Property | Type | Required | Description |
---|---|---|---|
errorCode | string | False | 404 |
message | string | False | The resource (for example, an access policy statement) specified in the request doesn't exist. |
TooManyRequestsException
The client is sending more than the allowed number of requests per unit of time.
Property | Type | Required | Description |
---|---|---|---|
errorCode | string | False | 429 |
message | string | False | The client is sending more than the allowed number of requests per unit of time. |
UnshareApplicationInput
Unshare application request.
Property | Type | Required | Description |
---|---|---|---|
organizationId | string | True | The AWS Organizations ID to unshare the application from. |
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: