Skip to content

Get refresh token sharding config

GET
/api/admin/settings/refresh-token-sharding
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/settings/refresh-token-sharding \
--header 'Authorization: Bearer <token>'

Returns global or client-specific refresh token shard generation configuration. Optional clientId selects a client override.

clientId
string

Optional client ID. Omit for global config.

Refresh token sharding configuration.

Media type application/json
object
clientId
string
config
object
currentGeneration
integer
currentShardCount
integer
previousGenerations
Array<object>
object
generation
integer
shardCount
integer
shard_count
integer
activatedAt
integer format: int64
deprecatedAt
integer | null format: int64
createdBy
string
notes
string | null
key
additional properties
updatedAt
integer format: int64
updatedBy
string
key
additional properties
key
additional properties
Example
{
"clientId": "__global__",
"config": {
"currentGeneration": 2,
"currentShardCount": 16,
"previousGenerations": [
{
"generation": 1,
"shardCount": 8,
"deprecatedAt": 1769999999000
}
],
"updatedAt": 1770000000000,
"updatedBy": "admin-api"
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}