Get Organization Certificates

get

/console/admin/api/v1.1/organizations/{orgName}/certificates

Use this endpoint to return the admin, CA, and TLS certificates for an organization.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Organization certificate
Body ()
Root Schema : schema
Type: object
Example:
{
    "mspId":"<string>",
    "certs":{
        "adminCert":"<string>",
        "CACert":"<string>",
        "tlsCACert":"<string>"
    }
}

400 Response

Invalid argument
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

401 Response

Unauthorized

404 Response

Query certificates for an unknown organization
Body ()
Root Schema : schema
Type: object
Example:
{
    "respMesg":"No admin access to organization; cannot get admin credentials."
}

500 Response

Internal Server Error
Body ()
Root Schema : 500errorModels
Type: object
Show Source

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top