Support Questions

Find answers, ask questions, and share your expertise

Apache Atlas type definitions

avatar
New Contributor

Hello there,

 

We are currently setting up Apache Atlas and we want to delete all the default type definitions. Because so our users are not distracted. The user should only see our own type definitions that we added. Does somebody know how we can achieve this?

 

I would be glad if you help!

1 REPLY 1

avatar
New Contributor

Hello,

 

I found the following section on the Atlas REST API page, but somehow I couldn't solve the problem. If anyone can help, I would appreciate it.

 

DELETE /v2/types/typedefs
Content-Type: application/json


{
"enumDefs" : [ {
"elementDefs" : [ {
"value" : "...",
"description" : "...",
"ordinal" : 12345
}, {
"value" : "...",
"description" : "...",
"ordinal" : 12345
} ],
"defaultValue" : "...",
"category" : "MAP",
"guid" : "...",
"createdBy" : "...",
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
}, {
"elementDefs" : [ {
"value" : "...",
"description" : "...",
"ordinal" : 12345
}, {
"value" : "...",
"description" : "",
"ordinal" : 12345
} ],
"defaultValue" : "...",
"category" : "ARRAY",
"guid" : "...",
"createdBy" : "...",
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
} ],
"structDefs" : [ {
"attributeDefs" : [ {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SET",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
}, {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "LIST",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
} ],
"category" : "MAP",
"guid" : "...",
"createdBy" : "", routermanuals.net
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
}, {
"attributeDefs" : [ {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SET",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
}, {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SINGLE",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
} ],
"category" : "PRIMITIVE",
"guid" : "...",
"createdBy" : "", printereasy.com
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
} ],
"classificationDefs" : [ {
"superTypes" : [ "" ], techtipseasy.com
"attributeDefs" : [ {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SET",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
}, {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SINGLE",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
} ],
"category" : "ARRAY",
"guid" : "...",
"createdBy" : "...",
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
}, {
"superTypes" : [ "...", "..." ],
"attributeDefs" : [ {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SET",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
}, {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SET",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
} ],
"category" : "RELATIONSHIP",
"guid" : "...",
"createdBy" : "...",
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
} ],
"entityDefs" : [ {
"superTypes" : [ "...", "..." ],
"attributeDefs" : [ {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SET",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
}, {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SINGLE",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
} ],
"category" : "PRIMITIVE",
"guid" : "...",
"createdBy" : "...",
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
}, {
"superTypes" : [ "...", "..." ],
"attributeDefs" : [ {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "LIST",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
}, {
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "LIST",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ { }, { } ]
} ],
"category" : "ENTITY",
"guid" : "...",
"createdBy" : "...",
"updatedBy" : "...",
"createTime" : 12345,
"updateTime" : 12345,
"version" : 12345,
"name" : "...",
"description" : "...",
"typeVersion" : "...",
"options" : {
"property1" : "...",
"property2" : "..."
}
} ],
"empty" : true
}

 

Best regards.