v1
latestOpenAPI 3.0.12026-07-1719674.9 KBfabric-ca-server
Rename an affiliation.
The caller must have hf.AffiliationMgr authority.
put/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 any identities are associated with this affiliation, force causes these identities' affiliations to be renamed; 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.
Request body
Response
List a specific affiliation equal to and below the caller's affiliation.