v1
latestOpenAPI 3.0.12026-07-1719674.9 KBfabric-ca-server
Delete an affiliation.
The caller must have hf.AffiliationMgr authority.
delete/api/v1/affiliations/{affiliation}
Path parameters
affiliationstring required
An affiliation path
Query parameters
castring
The name of the CA to direct this request to within the server, or the default CA if not specified
forceboolean
If there are any child affiliations or any identities are associated with this affiliation or child affiliations, force causes these identities and child affiliations to be deleted; otherwise, an error is returned
Headers
Authorizationstring required
An enrollment token consisting of two base 64 encoded parts separated by a period:
- an enrollment certificate;
- a signature over the HTTP method, URL path, request body, and the certificate.
Response
List the affiliation(s) and any identities which were deleted.