Skip to content

Archive forms via API #1455

@joshb227

Description

@joshb227

Related Product
Which product is this feature related to?
People

Is your feature request related to a problem? Please describe.
In our org, stale forms tend to hang around forever. I would like to write a script to archive old forms with no recent submissions.

Describe the solution you'd like
I would like to be able to patch the "archived" attribute on a Form resource, or if there's a URL like /forms/xyz/archive to post to, that's fine too.

Describe alternatives you've considered
I did manage to patch the "active" attribute on a form (which as far as I can tellllllll isn't documented, so maybe isn't officially supported? Or I'm just missing it), but that just makes the form stop accepting new submissions. What I want is to actually archive the form.

Additional context
While we're at it, adding a delete method for forms resources might be nice too, but I understand that's riskier.

I have..

  • Reviewed the documentation found at https://developer.planning.center/docs
  • Searched for previous issues asking for this feature request
  • Removed all private information from this issue (credentials, tokens, emails, phone numbers, etc.)
  • Reviewed my issue for completeness

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions