Remove Team Member

Remove a specified user from the specified team.

Note

Make sure that the API key that's used to create the Opsgenie connection for this card is not team-specific. Otherwise, any input value in the Team ID or Team Name fields on this card will not override the team that's specified by a team-specific API key. It is recommended to create and manage API keys on the Opsgenie API key management page.

Options

Field Definition Type Required
Team Identifier Specify how to identify the team. Choose one of the following options:
  • Team ID: Unique ID of the team.
  • Team Name: Name of the team.
Dropdown TRUE

Input

These fields are dynamically generated based on the fields selected in Options.

Field Definition Type Required
Team ID Unique ID of the team.

This field displays when Team ID is selected from the Team Identifier option.

String TRUE
Team Name Name of the team.

This field displays when Team Name is selected from the Team Identifier option.

String TRUE
User ID/Username User ID or user's email address. String TRUE

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number
Result Result of the API call.

For example, Deleted.

String

Related topics

Opsgenie connector

Workflow elements

Opsgenie API overview