Deleting a Listener
Function
This API is used to delete a listener.
Constraints
Before deleting the listener, you must delete all associated endpoint groups.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
DELETE /v1/listeners/{listener_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
listener_id |
Yes |
String |
Specifies the listener ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
Specifies the user token. The token can be obtained by calling the IAM API. The value of X-Subject-Token in the response header is the user token. |
Response Parameters
Status code: 204
Listener deleted.
None
Example Requests
Deleting a listener
DELETE https://{ga_endpoint}/v1/listeners/1b11747a-b139-492f-9692-2df0b1c87193
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
204 |
Listener deleted. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.