Deletes a file assignment from an asset type

DELETE {{baseUrl}}/assettypes/:id/fileAssignments/:key?includeShared=false

Deletes a file assignment from an asset type. If the type's parent has defined a file with the same key, the key will be displayed with the inherited value.

Request Params

KeyDatatypeRequiredDescription
includeSharedbooleanSpecifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.

HEADERS

KeyDatatypeRequiredDescription
If-Matchstring(Required) Last known version to facilitate optimistic locking
Acceptstring

RESPONSES

status: OK

{"name":"X_Wing","parentTypeId":"mdsp.spaceship","description":"Hyperspace jump capable space ship","instantiable":true,"scope":"private","id":"mdsp.spaceship","tenantId":"mdsp","etag":1,"aspects":[{"name":"leftWing","aspectId":"b9cbfc7073be4530887cdb1e71c932b8","aspectType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"origin":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}},{"name":"leftWing","aspectId":"b9cbfc7073be4530887cdb1e71c932b8","aspectType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"origin":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}],"variables":[{"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"fileAssignments":[{"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"sharing":{"modes":["SHARER","SHARER"]},"_links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"parent":{"href":"http://CnBnkoISAXrtPidXrDHcMRWnXWUnud.uhznlvqOGc8AnA"}}}