certificates: Certificates

URL:
https://[root]/portal/[portalID]/certificates
Methods:
GET
Operations:
Register HTTPS Certificate, Unregister Certificate
Child Resources:
Certificate

Example usage

The following is a sample ArcGIS Online request URL used to access the certificates resource:

Use dark colors for code blocksCopy
1
https://org.arcgis.com/sharing/rest/portals/0123456789ABCDEF/certificates?f=pjson

Description

The certificates resource lists all custom certificates that are registered with an organization. This resource is available via HTTPS only.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Response properties

PropertyDetails

certificates

A JSON array of certificates that are registered with the organization, each with its id, name and url domain properties.

Example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
[
  {
    "id": "g5QWhBtSZveWDDdu",
    "name": "mycert",
    "url": "example.com"
  }
]

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "certificates": [
    {
      "id": "<certificateId1>",
      "name": "<certificateName1>",
      "url": "<domain1>"
    },
    {
      "id": "<certificateId2>",
      "name": "<certificateName2>",
      "url": "<domain2>"
    }
  ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "certificates": [
    {
      "id": "g5QWhBtSZveWDDdu",
      "name": "cert1",
      "url": "example.com"
    },
    {
      "id": "hui4TO1KxjAsNmkg",
      "name": "cert2",
      "url": "anotherexample.com"
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.