This API is designed to support CREATE and UPDATE operations to the indicated Environment. An import operation occurs when a new templateId
is used. An update operation occurs if the templateId
already exists.
Notice
Accessing the APIs is through a dedicated domain/URL, according to your PlainID Tenant LocationUsing HTML Encoded Special Characters
Use HTML encoded patterns when working with values that contain special characters like spaces, dashes, etc. Refer to this HTML URL Encoding Reference for a full list.
Important note about headers
Refer to the headers below to modify your cURL sample. Check if the following headers are in the sample, if not, ensure you add it to your cURL sample before pasting into your API tool.
Headers
*RequiredHeader | Value | cURL Line |
---|---|---|
Accept | `application/json` | `-H "Accept:application/json"` |
Content-Type | `application/json` | `-H "Content-Type:application/json"` |
cURL Sample Guidelines
In order for the relevant parameters to appear in the cURL sample, you can input the values in the interactive API console on the right. They will then appear in the cURL sample on the bottom of the page in the correct format.
For more details about Administration API Authentication, check out the Authentication APIs documentation. Provide your bearer token in the Authorization header when making requests to protected resources. Example: Authorization: Bearer 123
The Environment ID can be found under the Details Tab in the Environment Settings.
Authorization Workspace ID. This can be found in your Authorization Workspace Settings under Workspace ID.
Fields to update in the Asset Template
Asset Type
A display name that acts as a label for your Asset Template.
A unique string for the Asset Template.
A description for your Asset Template.
Logo URL for the Asset Template.
Repository type. This parameter refers to the location of your Assets.
Note that some parameters are required based on the repository type.
*Required if using "source": "EXTERNAL"
or "source": "PLAINID"
Indicates if Asset Attributes in the request can override the source.
Indicates if the Asset Template is used for data filtering.
*Required if using "source": "EXTERNAL"
.
PAA Group ID. PAA Groups at the Tenant level have a suffix of _GLOBAL
*Required if using "source": "EXTERNAL"
.
Asset Template View name. The View Name that supports the External Asset as predefined in the PIP Settings
Attribute
A display name that acts as a label for your Attribute.
A unique string for the Attribute.
Attribute Data Type
Set whether the Attribute is calculated.
Calculated Attribute calculation function. See Working with Calculated Attributes for more information.
*Required if using "source": "EXTERNAL"
.
Source Attribute name for the Attribute as defined in the View.
Indicates if the Attribute is allowed for Policies.
The name of the Attribute as it should appear in an Authorization Request.
*Required if using "source": "EXTERNAL"
or "source": "PLAINID"
.
Indicates if the Attribute accepts either a single or multi value. If set to false
, the Attribute accepts a single value. If set to true
, the Attribute accepts a multivalue.
*Required if using "source": "PLAINID"
.
Default Values for the Attribute.
*Required if using "source": "PLAINID"
.
Attribute maximum length
*Required if using "source": "PLAINID"
.
Indicates if the Attribute is required.
*Required if using "source": "PLAINID"
.
Indicates if the PlainID Attribute can be updated.
Action
Successful operation
Asset Type
Asset Type
A display name that acts as a label for your Asset Template.
A unique string for the Asset Template.
A description for your Asset Template.
Logo URL for the Asset Template.
Repository type. This parameter refers to the location of your Assets.
Note that some parameters are required based on the repository type.
*Required if using "source": "EXTERNAL"
or "source": "PLAINID"
Indicates if Asset Attributes in the request can override the source.
Indicates if the Asset Template is used for data filtering.
*Required if using "source": "EXTERNAL"
.
PAA Group ID. PAA Groups at the Tenant level have a suffix of _GLOBAL
*Required if using "source": "EXTERNAL"
.
Asset Template View name. The View Name that supports the External Asset as predefined in the PIP Settings
Attribute
Action