Skip to content

Update an SSF stream

Request

Identity Engine

Updates properties for an existing SSF stream configuration.

If the stream_id isn't provided in the request body, the associated stream with the client ID (through the request OAuth 2.0 access token) is updated.

Bodyapplication/jsonrequired
audstring or Array of strings
Example:"https://example.com"
One of:

The audience used in the SET. This value is set as aud in the claim.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

string (uri)
deliveryobject(Stream configuration delivery)required

Contains information about the intended SET delivery method by the receiver

events_deliveredArray of strings, (uri)

The events (mapped by the array of event type URIs) that the transmitter actually delivers to the SSF stream.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:
[ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ]
events_requestedArray of strings, <= 50 itemsrequired

The events (mapped by the array of event type URIs) that the receiver wants to receive

Example:
[ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ]
events_supportedArray of strings, (uri)

An array of event type URIs that the transmitter supports.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:
[ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ]
formatstring

The subject identifier format expected for any SET transmitted.

Value:"iss_sub"
issstring

The issuer used in security event tokens (SETs). This value is set as iss in the claim.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:"https://{yourOktaDomain}"
min_verification_intervalinteger or null

The minimum amount of time, in seconds, between two verification requests.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:60
stream_idstring

The ID of the SSF stream configuration

Example:"esc1k235GIIztAuGK0g5"
curl -i -X PATCH \
  https://subdomain.okta.com/api/v1/ssf/stream \
  -H 'Content-Type: application/json' \
  -d '{
    "aud": "https://example.com",
    "delivery": {
      "authorization_header": "{authorizationHeaderValue}",
      "endpoint_url": "https://example.com/",
      "method": "https://schemas.openid.net/secevent/risc/delivery-method/push"
    },
    "events_delivered": [
      "https://schemas.openid.net/secevent/caep/event-type/session-revoked",
      "https://schemas.openid.net/secevent/caep/event-type/credential-change"
    ],
    "events_requested": [
      "https://schemas.openid.net/secevent/caep/event-type/session-revoked",
      "https://schemas.openid.net/secevent/caep/event-type/credential-change"
    ],
    "events_supported": [
      "https://schemas.openid.net/secevent/caep/event-type/session-revoked",
      "https://schemas.openid.net/secevent/caep/event-type/credential-change"
    ],
    "format": "iss_sub",
    "iss": "https://{yourOktaDomain}",
    "min_verification_interval": 60,
    "stream_id": "esc1k235GIIztAuGK0g5"
  }'

Responses

OK

Bodyapplication/json
audstring or Array of strings
Example:"https://example.com"
One of:

The audience used in the SET. This value is set as aud in the claim.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

string (uri)
deliveryobject(Stream configuration delivery)required

Contains information about the intended SET delivery method by the receiver

events_deliveredArray of strings, (uri)

The events (mapped by the array of event type URIs) that the transmitter actually delivers to the SSF stream.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:
[ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ]
events_requestedArray of strings, <= 50 itemsrequired

The events (mapped by the array of event type URIs) that the receiver wants to receive

Example:
[ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ]
events_supportedArray of strings, (uri)

An array of event type URIs that the transmitter supports.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:
[ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ]
formatstring

The subject identifier format expected for any SET transmitted.

Value:"iss_sub"
issstring

The issuer used in security event tokens (SETs). This value is set as iss in the claim.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:"https://{yourOktaDomain}"
min_verification_intervalinteger or null

The minimum amount of time, in seconds, between two verification requests.

A read-only parameter that is set by the transmitter. If this parameter is included in the request, the value must match the expected value from the transmitter.

Example:60
stream_idstring

The ID of the SSF stream configuration

Example:"esc1k235GIIztAuGK0g5"
Response
{ "aud": "https://example.com", "delivery": { "authorization_header": "{authorizationHeaderValue}", "endpoint_url": "https://example.com/", "method": "https://schemas.openid.net/secevent/risc/delivery-method/push" }, "events_delivered": [ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ], "events_requested": [ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ], "events_supported": [ "https://schemas.openid.net/secevent/caep/event-type/session-revoked", "https://schemas.openid.net/secevent/caep/event-type/credential-change" ], "format": "iss_sub", "iss": "https://{yourOktaDomain}", "min_verification_interval": 60, "stream_id": "esc1k235GIIztAuGK0g5" }