Skip to main content

Add a resource to a workspace

Contributors

POST /tenancy/resource/{resourceIdentifier}/add-to-workspace/{workspacePublicId}

Adds a resource to a specified workspace.
Token usage: BlueXP user token.

Parameters

Name Type In Required Description

resourceIdentifier

string

path

True

  • example: VsaWorkingEnvironment-yQFegzgz

workspacePublicId

string

path

True

  • example: workspace-APWLzah1

authorization

string

header

True

Authorization JWT access token

X-User-Token

string

header

False

User JWT access token

X-Service-Request-Id

string

header

False

Request identifier

Response

Status: 200, Default response
Name Type Required Description

accountPublicId

string

False

resourcePublicId

string

False

resourceIdentifier

string

False

resourceType

string

False

agentId

string

False

resourceClass

string

False

cloudId

string

False

agentIds

array[string]

False

Example response
{
  "accountPublicId": "string",
  "resourcePublicId": "string",
  "resourceIdentifier": "string",
  "resourceType": "string",
  "agentId": "string",
  "resourceClass": "string",
  "cloudId": "string",
  "agentIds": [
    "string"
  ]
}
Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response