InsionInsion
Ruby

Create an appeal

Submit an appeal for a suspended user

appeal = client.create_an_appeal(user_id: "usr_123", text: "Please review this decision.")

user_id and text are required keyword arguments. Use the Insion user ID, not your application client_id. Appeals must be enabled for the organization; the method returns CreateAppealResponse.

Method shape

client.create_an_appeal(user_id:, text:, request_options: {})
KeywordRequiredDescription
user_idYesInsion ID of the suspended user.
textYesAppeal message for review.
request_optionsNoPer-request URL, headers, timeout, or additional parameters.

The result is Insion::Types::CreateAppealResponse. Invoke this only after you have the Insion user ID, usually from ingest_a_user, list_users, or retrieve_a_user; it will fail if appeals are disabled for the organization.

On this page