Add Certificate Attributes

POST - certificate/attribute

Sample URL

http://<IP>:<GWPORT>/avxapi/certificate/attribute?gwkey=f000ca01&gwsource=external

Description

This API used to add certificate attributes.

  1. Name is mandatory and must not start with special characters. No special characters except -, _ are allowed.

  2. The label is mandatory and must not start with special characters. No special characters except -, _ are allowed.

Parameters

Type Name Description Schema
Header

sessionid

required

AppViewX Session Id string
Query

gwkey

required

Tenant Key string
Query

gwsource

required

Source from which the request is triggered string
Body

body

required

Refer to sample request body json

Sample Request/Response

Sample Request

[

{

"name": "keyName",

"label": "labelName",

"value": "testValue",

"mandatory": true

}

]

Sample Response

{

"response": {[1] [2] [3] [4]

"failedGenericFields": [],

"successfullGenericFields": [

{

"id": "keyNamecustomAttributecustomAttribute",

"type": "text",

"value": "testValue",

"values": null,

"label": "labelName",

"searchKey": "keyName",

"errorCode": null,

"mandatory": true,

"validation": null,

"divClasses": null,

"classNames": null,

"category": "certAttributes",

"certificateAuthority": null,

"regexValue": null,

"name": "keyName",

"mandatoryFor": null,

"_id": "keyName"

}

],

"alreadyAvailableGenericFields": []

},

"message": "Certificate attribute added successfully",[5] [6] [7] [8] [9]

"appStatusCode": null,

"tags": {},

"headers": null

}

Consumes: application/json

Produces: application/json

Tags: avx_subsystem_certificate