# Update TMS credentials Update the credentials and settings of an existing TMS credentials for an operator. Endpoint: PUT /operators/{operatorId}/tms-credentials/{tmsId} Version: 1.0.0-SNAPSHOT Security: Production, Sandbox ## Path parameters: - `operatorId` (integer, required) The unique identifier of the operator Example: 1 - `tmsId` (integer, required) The unique identifier of the TMS Example: 1 ## Request fields (application/json): - `clientId` (string,null) Client ID for authentication. Required for BaseAuth and ClientCredentials TMS types. Example: "44966392-f2d4-4929-8c9a-e87a0e7dc856" - `secretId` (string,null) Client secret for authentication. Required for BaseAuth and ClientCredentials TMS types. Example: "LjjXs5$3M%Btx@tt" - `bearer` (string,null) Bearer token for authentication. Required for BearerToken TMS type (e.g., Collins). Example: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..." - `externalOperatorId` (string, required) External identifier for the operator in the TMS system Example: "514ada610df690b6770000fd" - `active` (boolean, required) Whether this TMS credentials should be active Example: true ## Response 200 fields (application/json): - `operatorId` (integer, required) The unique identifier of the operator Example: 1 - `tmsId` (integer, required) The unique identifier of the TMS Example: 1 - `tmsName` (string, required) The name of the TMS Example: "Collins" - `tmsSlug` (string, required) The slug identifier of the TMS Example: "CO" - `clientId` (string,null) Client ID used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types. Example: "44966392-f2d4-4929-8c9a-e87a0e7dc856" - `secretId` (string,null) Client secret used for authentication with the TMS. Required for BaseAuth and ClientCredentials auth types. Example: "LjjXs5$3M%Btx@tt" - `bearer` (string,null) Bearer token used for authentication with the TMS. Required for BearerToken auth type (e.g., Collins). Example: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..." - `externalOperatorId` (string, required) External identifier for the operator in the TMS system. Format varies by TMS (hex string for Collins, UUID for others, or empty string). Example: "514ada610df690b6770000fd" - `active` (boolean, required) Whether this TMS credentials is currently active Example: true - `createdAt` (string) Timestamp when the connection was created Example: "2025-01-15T10:30:00Z" - `updatedAt` (string) Timestamp when the connection was last updated Example: "2025-02-10T14:20:00Z" ## Response 400 fields ## Response 404 fields