1. Home
  2. ...
  3. Creation (ssd api-management create)
  4. Interceptor Creation (ssd api-management create interceptor)

Interceptor Creation (ssd api-management create interceptor)

The `ssd api-management create interceptor` command allows you to create an interceptor on Sensedia CLI.
NOTE

You can use the ssd api-management create interceptor command or its shortened version ssd apim create interceptor.

TIP

For more specific information, refer to the documentation about interceptors on Sensedia API Platform.

Usage

The ssd api-management create interceptor command can be followed by flags with their respective arguments:

If no flag is specified, the interactive mode will be activated.

Available flags

Flag
Type
Description
-a, --abort-request-failWhen this option is checked, the gateway does not forward the request to the backend in case of an error, but immediately returns an error response to the client.
-f, --filestringIt requires the base path for the file to be uploaded.
-h, --helpDisplays help for the command.
-n, --namestringInterceptor's name.
--tagsstringInterceptor's tags.
-t, --typestringInterceptor's type. The available ones are 'JAVA' and 'JAVASCRIPT'.
--visibility-teamstringThe team name for an interceptor with a team visibility.
--visibility-typestringVisibility type of the interceptor to be created. The available ones are 'ORGANIZATION', 'ME' and 'TEAM' (default: "ORGANIZATION").
--visibility-usersstringUser names for an interceptor with a user visibility.

Global Flags

Flag
Type
Description
-c, --configstringConfiguration file (default: $HOME/.sensedia/config.json)
--profilestringThe configuration profile you want to use (default: "default")
--verboseLists all requests made by the command. It is possible to store this information in a TXT file instead of displaying it on the terminal. E.g.: $ ssd (api-management | apim) list apis --verbose 2> log.txt
NOTE

It is possible to create an interceptor using a .yaml file with the Declarative Mode.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more