unlockResource

Unlock the specified resource.

Location

/services/webservices/system/admin/resource/operations/

Request Elements

path: The path of the resource to unlock.

type: The type of the resource to unlock. Valid values are CONTAINER, DATA_SOURCE, DEFINITION_SET, LINK, PROCEDURE, TABLE, TREE, and TRIGGER.

detail: The level of detail about the resources to include in the response. Valid values are NONE, SIMPLE, and FULL.

comment (optional): A description about why the resource is being unlocked.

Response Elements

resources: List of the unlocked resources. See Resources Element.

Faults

IllegalArgument: If the path is malformed or the type or detail is illegal.

NotFound: If the resource or any portion of the path to the resource does not exist.

Security: If the user does not have WRITE access to the last item in path and does not have the MODIFY_ALL_RESOURCES right.

Security: If the user does not have the ACCESS_TOOLS right.

Security: If the user is not the lock owner and does not have the UNLOCK_RESOURCE right.