Inference Providers

Update gateway credential set

Changed on

Partially updates a credential set and returns status without secrets. Omitted credential fields preserve stored credentials. Changing mode or OAuth client configuration, or disabling the set, invalidates pending sign-ins and revokes affected credentials; renaming alone does not. Requires the Manage Gateway providers permission and enabled Gateway management; session callers must recently reauthenticate.

patch/v1/inference-providers/{inferenceProviderId}/credential-sets/{credentialSetId}

Request

  • Base URL
    https://api.openworklabs.com
  • URL
    https://api.openworklabs.com/v1/inference-providers/{inferenceProviderId}/credential-sets/{credentialSetId}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

inferenceProviderIdstring typeid required

Den TypeID with 'ipr_' prefix and a 26-character base32 suffix.

credentialSetIdstring typeid required

Den TypeID with 'gcs_' prefix and a 26-character base32 suffix.

Request body

namestring
credentialMode'org' | 'member'
apiKeysobject
oauthClientIdstring
oauthClientSecretstring
oauthTenantIdstring

Microsoft Foundry member sets: the Entra ID directory (tenant) ID. Empty string clears.

status'active' | 'disabled'

Response

Update gateway credential set

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • info

      response property anyOf[InvalidRequestError]/details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    • info

      response property credentialSet/createdBy/anyOf[subschema #1]/email list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property credentialSet/createdBy/anyOf[subschema #1]/name list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property credentialSet/oauthClientId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property credentialSet/oauthTenantId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      the / response's property pattern was changed from ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ to ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ for the status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new aws_sso enum value to the request property /

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status