Delete a RepositoryAttribute
This use case allows you to delete a RepositoryAttribute, i.e. a LocalAttribute that is owned by yourself and whose shareInfo property is undefined.
Parameters
- The
attributeIdof the RepositoryAttribute you want to delete.
On Success
- The RepositoryAttribute will be deleted.
- All predecessors of the RepositoryAttribute will be deleted.
- If the RepositoryAttribute was succeeded, the
succeedsproperty of the successor will be set to undefined. - If there are shared copies of the RepositoryAttribute or potential predecessors of it, the
shareInfo.sourceAttributeof those own shared Attributes will be set to undefined.
On Failure
- No Attribute can be deleted if you don’t have a LocalAttribute with given
attributeId. - No Attribute can be deleted if the Attribute with given
attributeIdis not a RepositoryAttribute.