Manage Domain

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Add or delete the defined domains associated to JPDs under a valid SSL certificate.

Since: August 13, 2023

Security: Requires a valid tokenGenerate a Token in MyJFrog

Usage: POST https://my.jfrog.com/api/jmis/v1/ssl/manage_domains

Content-Type: application/json

Produces: application/json

Sample Usage:

curl --location
'https://my.jfrog.com/api/jmis/v1/ssl/manage_domains' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer \
--data '{ 
   "certificate_id": "cert-id-123",
    "domains_under_certificate": [
   {
            "url": "servername01.com",
			"server_name": "serverName01",
			"type": "platform_base_url"
  },
	        "url": "servername02.com",
			"server_name": "serverName02",
			"type": "platform_base_url"
  }
    ]
}'

Sample Response:

200
OK
Content-Type: application/json
{
  "status": "in_progress",
  "message": "successfully submitted"
}

Response status codes:

200: Success

400: Failed

409: Another action is in progress (try again in a few minutes)

403: Account is not permitted for this action

401: Unauthorized user