The Custom Domains API provides operations to manage custom domains for your organization.
okta.domains.read
Lists all verified custom domains for the org
Success
Forbidden
Too Many Requests
{- "domains": [
- {
- "brandId": "bndul904tTZ6kWVhP0g3",
- "certificateSourceType": "MANUAL",
- "dnsRecords": [
- {
- "expiration": "string",
- "fqdn": "_oktaverification.login.example.com",
- "recordType": "TXT",
- "values": [
- "79496f234c814638b1cc44f51a782781"
]
}
], - "domain": "login.example.com",
- "id": "OcDz6iRyjkaCTXkdo0g3",
- "publicCertificate": {
- "expiration": "2021-05-11T05:13:05.000Z",
- "fingerprint": "73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4",
- "subject": "CN=login.example.com"
}, - "validationStatus": "VERIFIED",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "brand": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "certificate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "verify": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
]
}
okta.domains.manage
Creates your custom domain
Success
Bad Request
Forbidden
Too Many Requests
{- "certificateSourceType": "MANUAL",
- "domain": "login.example.com"
}
{- "brandId": "bndul904tTZ6kWVhP0g3",
- "certificateSourceType": "MANUAL",
- "dnsRecords": [
- {
- "expiration": "string",
- "fqdn": "_oktaverification.login.example.com",
- "recordType": "TXT",
- "values": [
- "79496f234c814638b1cc44f51a782781"
]
}
], - "domain": "login.example.com",
- "id": "OcDz6iRyjkaCTXkdo0g3",
- "publicCertificate": {
- "expiration": "2021-05-11T05:13:05.000Z",
- "fingerprint": "73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4",
- "subject": "CN=login.example.com"
}, - "validationStatus": "VERIFIED",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "brand": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "certificate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "verify": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.domains.read
Retrieves a custom domain by domainId
Success
Forbidden
Not Found
Too Many Requests
{- "brandId": "bndul904tTZ6kWVhP0g3",
- "certificateSourceType": "MANUAL",
- "dnsRecords": [
- {
- "expiration": "string",
- "fqdn": "_oktaverification.login.example.com",
- "recordType": "TXT",
- "values": [
- "79496f234c814638b1cc44f51a782781"
]
}
], - "domain": "login.example.com",
- "id": "OcDz6iRyjkaCTXkdo0g3",
- "publicCertificate": {
- "expiration": "2021-05-11T05:13:05.000Z",
- "fingerprint": "73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4",
- "subject": "CN=login.example.com"
}, - "validationStatus": "VERIFIED",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "brand": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "certificate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "verify": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.domains.manage
Replaces a custom domain's brand
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "brandId": "bndul904tTZ6kWVhP0g3"
}
{- "brandId": "bndul904tTZ6kWVhP0g3",
- "certificateSourceType": "MANUAL",
- "dnsRecords": [
- {
- "expiration": "string",
- "fqdn": "_oktaverification.login.example.com",
- "recordType": "TXT",
- "values": [
- "79496f234c814638b1cc44f51a782781"
]
}
], - "domain": "login.example.com",
- "id": "OcDz6iRyjkaCTXkdo0g3",
- "publicCertificate": {
- "expiration": "2021-05-11T05:13:05.000Z",
- "fingerprint": "73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4",
- "subject": "CN=login.example.com"
}, - "validationStatus": "VERIFIED",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "brand": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "certificate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "verify": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.domains.manage
Deletes a custom domain by domainId
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.domains.manage
Upserts (creates or renews) the MANUAL
certificate for the custom domain
Notes:
- If the existing
certificateSourceType
isOKTA_MANAGED
, this operation changes the source type toMANUAL
. Okta no longer manages and renews certificates for this domain after you provide a user-managed certificate.- Okta supports TLS certificates and private keys that are PEM-encoded and 2048, 3072, or 4096 bits. See the Custom domain guide for more details.
No Content
Bad Request
Forbidden
Not Found
Too Many Requests
{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0bWLvBXg/rX734j7OWfn/bljWLH\\nXLrSoqQZF1+XMVeY4g4wx9UuTK/D2n791zdOgQivxbIPdWL3a4ap86ar8uyMgJu8\\nBLXfFBAOc+9myqUkbeO7wt0e6QKBgQDPV04jPtIJoMrggpQDNreGrANKOmsXWxj4\\nOHW13QNdJ2KGQpoTdoqQ8ZmlxuA8Bf2RjHsnB2kgGVTVQR74zRib4MByhvsdhvVm\\nF2LNsJoIDfqtv3c+oj13VonRUGuzUeJpwT/snyaL+jQ/ZZcYz0jDgDhIODTcFYj8\\nDMSD5SHgywKBgHH6MwWuJ44TNBAiF2qyu959jGjAxf+k0ZI9iRMgYLUWjDvbdtqW\\ncCWDGRDfFraJtSEuTz003GzkJPPJuIUC7OCTI1p2HxhU8ITi6itwHfdJJyk4J4TW\\nT+qdIqTUpTk6tsPw23zYE3x+lS+viVZDhgEArKl1HpOthh0nMnixnH6ZAoGBAKGn\\nV+xy1h9bldFk/TFkP8Jn6ki9MzGKfPVKT7vzDORcCJzU4Hu8OFy5gSmW3Mzvfrsz\\n4/CR/oxgM5vwoc0pWr5thJ3GT5K93iYypX3o6q7M91zvonDa3UFl3x2qrc2pUfVS\\nDhzWGJ+Z+5JSCnP1aK3EEh18dPoCcELTUYPj6X3xAoGBALAllTb3RCIaqIqk+s3Y\\n6KDzikgwGM6j9lmOI2MH4XmCVym4Z40YGK5nxulDh2Ihn/n9zm13Z7ul2DJwgQSO\\n0zBc7/CMOsMEBaNXuKL8Qj4enJXMtub4waQ/ywqHIdc50YaPI5Ax8dD/10h9M6Qc\\nnUFLNE8pXSnsqb0eOL74f3uQ\\n-----END PRIVATE KEY-----\"",
- "type": "PEM"
}
{- "errorCode": "E0000001",
- "errorSummary": "Api validation failed: {0}",
- "errorLink": "E0000001",
- "errorId": "sampleiCF-8D5rLW6myqiPItW",
- "errorCauses": [ ]
}
okta.domains.manage
Verifies the custom domain and validity of DNS records by domainId
. Furthermore, if the certificateSourceType
in the domain is OKTA_MANAGED
, then an attempt is made to obtain and install a certificate. After a certificate is obtained and installed by Okta, Okta manages the certificate including certificate renewal.
Success
Forbidden
Not Found
Too Many Requests
{- "brandId": "bndul904tTZ6kWVhP0g3",
- "certificateSourceType": "MANUAL",
- "dnsRecords": [
- {
- "expiration": "string",
- "fqdn": "_oktaverification.login.example.com",
- "recordType": "TXT",
- "values": [
- "79496f234c814638b1cc44f51a782781"
]
}
], - "domain": "login.example.com",
- "id": "OcDz6iRyjkaCTXkdo0g3",
- "publicCertificate": {
- "expiration": "2021-05-11T05:13:05.000Z",
- "fingerprint": "73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4",
- "subject": "CN=login.example.com"
}, - "validationStatus": "VERIFIED",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "brand": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "certificate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "verify": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}