Create Attributes
Search Attribute Values
client.search.createAttributes(SearchCreateAttributesParamsbody?, RequestOptionsoptions?): listunionnextPageTokenstringSearchCreateAttributesResponse
post/api/v1/search/attributes
Search attributes based on filters specified in the request body.
Parameters
bodyattributeTypeIdsunionexcludeIdsunionidsunionpageSizenumberpageTokenstringquerystringvaluestringSearchCreateAttributesParams
Returns
SearchCreateAttributesResponse
SearchAttributeValuesResponse is the response for searching AttributeValues.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const response = await client.search.createAttributes();
console.log(response.list);200 Example
{
"list": [
{
"id": "id",
"attributeTypeId": "attributeTypeId",
"value": "value"
}
],
"nextPageToken": "nextPageToken"
}