okta.inlineHooks.read
Lists all keys
Success
Forbidden
Too Many Requests
[- {
- "id": "HKY1i2htmXF5UNQhL0g4",
- "keyId": "bb5bed7d-6e4d-488f-9c86-59b93a2bb3fb",
- "name": "My new key",
- "created": "2022-08-22T16:34:33.000Z",
- "lastUpdated": "2022-08-22T16:34:33.000Z",
- "isUsed": "true"
}, - {
- "id": "HKY1p7jWLndGQV9M60g4",
- "keyId": "7fbc27fd-e3df-4522-86bf-1930110256ad",
- "name": "Test key",
- "created": "2022-08-31T18:09:58.000Z",
- "lastUpdated": "2022-08-31T18:09:58.000Z",
- "isUsed": "false"
}
]
okta.inlineHooks.manage
Creates a key for use with other parts of the application, such as inline hooks
Use the key name to access this key for inline hook operations.
The total number of keys that you can create in an Okta org is limited to 50.
Success
Bad Request
Forbidden
Too Many Requests
{- "name": "string"
}
{- "id": "HKY1p7jWLndGQV9M60g4",
- "keyId": "7fbc27fd-e3df-4522-86bf-1930110256ad",
- "name": "My new key",
- "created": "2022-08-31T18:09:58.000Z",
- "lastUpdated": "2022-08-31T18:09:58.000Z",
- "isUsed": "false",
- "_embedded": {
- "kty": "RSA",
- "alg": "RSA",
- "kid": "7fbc27fd-e3df-4522-86bf-1930110256ad",
- "use": "null",
- "e": "AQAB",
- "n": "2naqCnv6r4xNQs7207lRtKQvdtnlVND-8k5iYBIiqoKGY3CqUmRm1jleoOniiQoMkFX8Wj2DmVqr002efF3vOQ7_gjtTatBTVUNbNIQLybun4dkVoUtfP7pRc5SLpcP3eGPRVar734ZrpQXzmCEdpqBt3jrVjwYjNE5DqOjbYXFJtMsy8CWE9LRJ3kyHEoHPzo22dG_vMrXH0_sAQoCk_4TgNCbvyzVmGVYXI_BkUnp0hv2pR4bQVRYzGB9dKJdctOh8zULqc_EJ8tiYsS05YnF7whrWEyARK0rH-e4d4W-OmBTga_zhY4kJ4NsoQ4PyvcatZkxjPO92QHQOFDnf3w`"
}
}
okta.inlineHooks.read
Retrieves a public key by keyId
Success
Forbidden
Not Found
Too Many Requests
{- "_embedded": {
- "kty": "RSA",
- "alg": "RSA",
- "kid": "7fbc27fd-e3df-4522-86bf-1930110256ad",
- "use": null,
- "e": "AQAB",
- "n": "2naqCnv6r4xNQs7207lRtKQvdtnlVND-8k5iYBIiqoKGY3CqUmRm1jleoOniiQoMkFX8Wj2DmVqr002efF3vOQ7_gjtTatBTVUNbNIQLybun4dkVoUtfP7pRc5SLpcP3eGPRVar734ZrpQXzmCEdpqBt3jrVjwYjNE5DqOjbYXFJtMsy8CWE9LRJ3kyHEoHPzo22dG_vMrXH0_sAQoCk_4TgNCbvyzVmGVYXI_BkUnp0hv2pR4bQVRYzGB9dKJdctOh8zULqc_EJ8tiYsS05YnF7whrWEyARK0rH-e4d4W-OmBTga_zhY4kJ4NsoQ4PyvcatZkxjPO92QHQOFDnf3w`"
}
}
okta.inlineHooks.read
Retrieves a key by hookKeyId
Success
Forbidden
Not Found
Too Many Requests
{- "created": "2019-08-24T14:15:22Z",
- "id": "string",
- "isUsed": "string",
- "keyId": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "name": "string",
- "_embedded": {
- "alg": "string",
- "created": "2019-08-24T14:15:22Z",
- "e": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "key_ops": [
- "string"
], - "kid": "string",
- "kty": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "n": "string",
- "status": "string",
- "use": "string",
- "x5c": [
- "string"
], - "x5t": "string",
- "x5t#S256": "string",
- "x5u": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "type": "string"
}
}
}
}
okta.inlineHooks.manage
Replaces a key by hookKeyId
This request replaces existing properties after passing validation.
Note: The only parameter that you can update is the name of the key, which must be unique at all times.
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "name": "string"
}
{- "created": "2019-08-24T14:15:22Z",
- "id": "string",
- "isUsed": "string",
- "keyId": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "name": "string",
- "_embedded": {
- "alg": "string",
- "created": "2019-08-24T14:15:22Z",
- "e": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "key_ops": [
- "string"
], - "kid": "string",
- "kty": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "n": "string",
- "status": "string",
- "use": "string",
- "x5c": [
- "string"
], - "x5t": "string",
- "x5t#S256": "string",
- "x5u": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "type": "string"
}
}
}
}
okta.inlineHooks.manage
Deletes a key by hookKeyId
. After being deleted, the key is unrecoverable.
As a safety precaution, only keys that aren't being used are eligible for deletion.
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": [ ]
}