v1

latestOpenAPI 3.0.12026-07-1719674.9 KB
fabric-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

namestring required

The affiliation path to create.

canamestring

Name of the CA to send the request to within the Fabric CA server.

Response

Successfully created the affiliation.

{"stackTrail":"components:schemas:responseBase:properties:result","oasType":"schema","type":"unknown"}
successboolean required

Boolean indicating if the request was successful.