/role-store/api/v1/sources/{source_id}Ask AIput https://example.com/role-store/api/v1/sources/{source_id}Update a source.Path Paramssource_idstringrequiredSource IDBody ParamsenabledbooleantruefalsettlintegerHow often the source data should be refreshed, time in secondsnamestringA name describing the sourcecommentstringA comment describing the objecttagsarray of stringsArray of tag stringstagsADD stringusername_patternarray of stringsArray of wildcarded username patters which should be authenticated against this sourceusername_patternADD stringexternal_user_mappingarray of objectsMapping external users to source users via id+usernameexternal_user_mappingADD objectconnectionobjectSource connection definition - depending on the type, either aws_iam_source, ad source or ldap_source is definedconnection objectHeadersAuthorizationstringrequiredDefaults to Bearer a-proper-token-goes-hereOAuth2 tokenResponses 200Source successfully updated 400Bad request 401Unauthorized request, OAuth2 authorization missing or invalid 403Unauthorized request, OAuth2 authorization OK but scope insufficient 404Resource not found 500Internal server errorUpdated over 4 years ago