Skip To Content

certificates: Certificates

Example usage

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

https://org.arcgis.com/sharing/rest/portals/0123456789ABCDEF/certificates?f=pjson

Description

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

Note:

This resource is only available for ArcGIS Online organizations.

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


[
  {
    "id": "g5QWhBtSZveWDDdu",
    "name": "mycert",
    "url": "example.com"
  }
]

JSON Response syntax


{
  "certificates": [
    {
      "id": "<certificateId1>",
      "name": "<certificateName1>",
      "url": "<domain1>"
    },
    {
      "id": "<certificateId2>",
      "name": "<certificateName2>",
      "url": "<domain2>"
    }
  ]
}

JSON Response example


{
  "certificates": [
    {
      "id": "g5QWhBtSZveWDDdu",
      "name": "cert1",
      "url": "example.com"
    },
    {
      "id": "hui4TO1KxjAsNmkg",
      "name": "cert2",
      "url": "anotherexample.com"
    }
  ]
}