REST API - delete

vcenter namespaces access: delete

Remove access control of the subject on given domain from the namespace.


HTTP request

DELETE https://{server}/api/vcenter/namespaces/instances/{namespace}/access/{domain}/{subject}


Path Parameters

Name Type Description
namespace string Identifier for the namespace.
domain string The domain of the subject.
subject string The principal for this operation.

Query Parameters:

Name Type Description
bold = required
type string Lists the types of subjects who can be associated with a role on the namespace. Value is one of:
USER: Single user.
GROUP: Group of users.The type of subject (user or group).


HTTP Status Code: 204






HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
400 not_allowed_in_current_state if the namespace is marked for deletion or the associated cluster is being disabled.
404 not_found if namespace cannot be located.
400 unsupported if the specified principal on given domain is not associated with the namespace.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.