Skip to main content
PUT
/
auth-integrations
/
{auth_integration}
Replace a specific Auth Integration
curl --request PUT \
  --url https://api.altostrat.io/auth-integrations/{auth_integration} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "azure",
  "config": {
    "client_id": "<string>",
    "client_secret": "<string>",
    "tenant": "<string>"
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "type": "<string>",
  "config": {},
  "test_url": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

auth_integration
string<uuid>
required

UUID of the Auth Integration

Body

application/json

Auth Integration details to replace current item

name
string
required
type
enum<string>
required
Available options:
azure,
github,
google,
saml2
config
object
required

Response

Auth Integration updated

id
string<uuid>

UUID of the Auth Integration

name
string

Human-readable name for the Auth Integration

type
string

Type of IDP (e.g. azure, github, google, etc.)

config
object

Configuration values, including client_id, client_secret, etc.

test_url
string

Signed URL to test IDP flow

created_at
string<date-time>

Timestamp of creation

I