API Reference
Log In
API Reference
These docs are for v22. Click to read the latest docs for v33.

/role-store/api/v1/sources

Create a new source definition. Id, author, created & updated are automatically populated by the server.

Body Params
boolean
integer

How often the source data should be refreshed, time in seconds

string

A name describing the source

string

A comment describing the object

tags
array of strings

Array of tag strings

tags
username_pattern
array of strings

Array of wildcarded username patters which should be authenticated against this source

username_pattern
external_user_mapping
array of objects

Mapping external users to source users via id+username

external_user_mapping
connection
object

Source connection definition - depending on the type, either aws_iam_source, ad source or ldap_source is defined

Headers
string
required
Defaults to Bearer a-proper-token-goes-here

OAuth2 token

Responses

Language
Credentials
OAuth2
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json