Create 1

Create 1

Creates a new action constant

Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/abx/api/resources/action-secrets
COPY
Request Body
ActionSecret of type(s) application/json
Required
{
    "id": "string",
    "name": "string",
    "createdMillis": 0,
    "orgId": "string",
    "value": {},
    "encrypted": false
}
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

object
value
Optional

value

boolean
encrypted
Optional

encrypted

Authentication
This operation uses the following authentication methods.
Responses
200

Action constant created successfully

Returns ActionSecret of type(s) */*
"ActionSecret Object"
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

object
value
Optional

value

boolean
encrypted
Optional

encrypted


400

Invalid action constant

Returns ActionSecret of type(s) */*
"ActionSecret Object"
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

object
value
Optional

value

boolean
encrypted
Optional

encrypted


401

Unauthorized to make the request

Returns ActionSecret of type(s) */*
"ActionSecret Object"
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

object
value
Optional

value

boolean
encrypted
Optional

encrypted


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/abx/api/resources/action-secrets