DeleteGitHubAccountToken - AWS CodeDeploy

DeleteGitHubAccountToken

Deletes a GitHub account connection.

Request Syntax

{ "tokenName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

tokenName

The name of the GitHub account connection to delete.

Type: String

Required: No

Response Syntax

{ "tokenName": "string" }

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.

tokenName

The name of the GitHub account connection that was deleted.

Type: String

Errors

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

GitHubAccountTokenDoesNotExistException

No GitHub account connection exists with the named specified in the call.

HTTP Status Code: 400

GitHubAccountTokenNameRequiredException

The call is missing a required GitHub account connection name.

HTTP Status Code: 400

InvalidGitHubAccountTokenNameException

The format of the specified GitHub account connection name is invalid.

HTTP Status Code: 400

OperationNotSupportedException

The API used does not support the deployment.

HTTP Status Code: 400

ResourceValidationException

The specified resource could not be validated.

HTTP Status Code: 400

See Also

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