v1
latestOpenAPI 3.0.12026-07-1719674.9 KBfabric-ca-server
Create a new affiliation.
The caller must have hf.AffiliationMgr authority.
post/api/v1/affiliations
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 any of the parent affiliations do not exist and force is true, create all parent affiliations also
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.
Request body
Response
Successfully created the affiliation.