Skip to content

Change pantry name? #142

Closed Answered by imRohan
bklik asked this question in Q&A
Discussion options

You must be logged in to vote

@bklik Yes via the API but not through the dashboard UI.

Send a PUT request to apiv1/pantry/YOUR_PANTRY_ID with a JSON encoded body including the name attribute. Here's an example:

curl --location --request PUT 'https://getpantry.cloud/apiv1/pantry/YOUR_PANTRY_ID' \
--header 'Content-Type: application/json' \
--data-raw '{
	"name": "New Name Goes Here"
}'

Unfortunately, users are unable to change the name of a Pantry at this time from the dashboard UI. However, I am not opposed to the idea as changing the name would be very useful for users.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by imRohan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants