Skip to main content

Create an Azure resource group

Contributors

POST /account/{accountId}/providers/cloudmanager_cbs/api/v1/azure/subscription/{subscriptionId}/resource-group

Creates an Azure resource group in the specified subscription ID.

Token usage: BlueXP user token.

Parameters

Name Type In Required Description

accountId

string

path

True

Account ID

subscriptionId

string

path

True

Subscription ID

authorization

string

header

True

User token

x-agent-id

string

header

True

Request identifier

Request Body

Name Type Required Description

name

string

True

Name of the resource group to be created

region

string

True

Region where the resource group needs to be created

Response

Status: 200, Default response
Name Type Required Description

state

string

False

Definitions

See Definitions

body

Name Type Required Description

name

string

True

Name of the resource group to be created

region

string

True

Region where the resource group needs to be created