Skip to content

Comments

[DX-638] Add componentType.unpublish method for plain client#2886

Merged
michaelphamcf merged 3 commits intofeat/exofrom
DX-638-component-type-unpublish
Feb 23, 2026
Merged

[DX-638] Add componentType.unpublish method for plain client#2886
michaelphamcf merged 3 commits intofeat/exofrom
DX-638-component-type-unpublish

Conversation

@chasepoirier
Copy link

Summary

  • Implement componentType.unpublish for the plain client wrapping the Bridge API endpoint
  • Calls DELETE /spaces/:space_id/environments/:environment_id/component_types/:component_id/published
  • Successfully unpublishes component type

Changes

  • Added GetComponentTypeParams type definition
  • Registered unpublish action in MakeRequest types
  • Implemented REST endpoint handler for unpublish
  • Added unpublish method to ComponentTypePlainClientAPI
  • Wired up unpublish in the plain client

Test plan

  • Unit tests added and passing
  • TypeScript compiles without errors

Ticket

https://contentful.atlassian.net/browse/DX-638

Made with Cursor

Implement componentType.unpublish wrapping the Bridge API endpoint
DELETE /spaces/:space_id/environments/:environment_id/component_types/:component_id/published

Co-authored-by: Cursor <cursoragent@cursor.com>
@chasepoirier chasepoirier requested a review from a team as a code owner February 20, 2026 19:01
@michaelphamcf michaelphamcf merged commit f0843ed into feat/exo Feb 23, 2026
15 of 16 checks passed
@michaelphamcf michaelphamcf deleted the DX-638-component-type-unpublish branch February 23, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants