auths
Update an auth
Updates an existing auth.
PUT
/
v1
/
gateways
/
{gateway_id}
/
auths
/
{id}
Update an auth
curl --request PUT \
--url https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/auths/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"idp": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"issuer": "<string>",
"jwks_url": "<string>",
"public_keys": [
"<string>"
],
"required_scopes": [
"<string>"
],
"subject_claim": "<string>"
},
"mtls": {
"allowed_common_names": [
"<string>"
],
"allowed_dns_names": [
"<string>"
],
"allowed_fingerprints": [
"<string>"
],
"ca_cert": "<string>"
},
"oauth2": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"client_id": "<string>",
"client_secret": "<string>",
"introspection_url": "<string>",
"issuer": "<string>",
"jwks_url": "<string>",
"required_scopes": [
"<string>"
]
}
},
"enabled": true,
"name": "<string>",
"type": "<string>"
}
'{
"api_key": "<string>",
"config": {
"idp": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"issuer": "<string>",
"jwks_url": "<string>",
"public_keys": [
"<string>"
],
"required_scopes": [
"<string>"
],
"subject_claim": "<string>"
},
"mtls": {
"allowed_common_names": [
"<string>"
],
"allowed_dns_names": [
"<string>"
],
"allowed_fingerprints": [
"<string>"
],
"ca_cert": "<string>"
},
"oauth2": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"client_id": "<string>",
"client_secret": "<string>",
"introspection_url": "<string>",
"issuer": "<string>",
"jwks_url": "<string>",
"required_scopes": [
"<string>"
]
}
},
"created_at": "<string>",
"enabled": true,
"gateway_id": "<string>",
"id": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}Authorizations
Body
application/json
Auth fields to update
⌘I
Update an auth
curl --request PUT \
--url https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/auths/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"idp": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"issuer": "<string>",
"jwks_url": "<string>",
"public_keys": [
"<string>"
],
"required_scopes": [
"<string>"
],
"subject_claim": "<string>"
},
"mtls": {
"allowed_common_names": [
"<string>"
],
"allowed_dns_names": [
"<string>"
],
"allowed_fingerprints": [
"<string>"
],
"ca_cert": "<string>"
},
"oauth2": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"client_id": "<string>",
"client_secret": "<string>",
"introspection_url": "<string>",
"issuer": "<string>",
"jwks_url": "<string>",
"required_scopes": [
"<string>"
]
}
},
"enabled": true,
"name": "<string>",
"type": "<string>"
}
'{
"api_key": "<string>",
"config": {
"idp": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"issuer": "<string>",
"jwks_url": "<string>",
"public_keys": [
"<string>"
],
"required_scopes": [
"<string>"
],
"subject_claim": "<string>"
},
"mtls": {
"allowed_common_names": [
"<string>"
],
"allowed_dns_names": [
"<string>"
],
"allowed_fingerprints": [
"<string>"
],
"ca_cert": "<string>"
},
"oauth2": {
"allowed_algorithms": [
"<string>"
],
"audiences": [
"<string>"
],
"client_id": "<string>",
"client_secret": "<string>",
"introspection_url": "<string>",
"issuer": "<string>",
"jwks_url": "<string>",
"required_scopes": [
"<string>"
]
}
},
"created_at": "<string>",
"enabled": true,
"gateway_id": "<string>",
"id": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}