Regions: DeleteRegion

This method deletes a region from a Rooms account.

Request

HTTP request

DELETE /restapi/v2/accounts/{accountId}/regions/{regionId}

Parameters

Parameter NameValueDescription
Path Parameters
regionIdinteger

(Required) The id of the region.

accountIdstring

(Required) The globally unique identifier (GUID) for the account.

Responses

CodeDescriptionReference
204

Region successfully deleted.

400

Bad request. See ErrorCode and Message for details

ApiError
401

Not authorized to make this request.

ApiError

SDK Method

Regions::DeleteRegion

Definitions

ApiError

This object describes errors that occur. It is valid only for responses and ignored in requests.

errorCodestring

The code associated with the error condition.

messagestring

A brief message describing the error condition.

}} />