diff --git a/paths.yaml b/paths.yaml index 349a63b1b..85cdf1d4e 100644 --- a/paths.yaml +++ b/paths.yaml @@ -27,7 +27,7 @@ "/accounts/{account_id}/custom_metadata/labels": get: "$ref": "./paths/custom_metadata_labels/index.yaml" -"/accounts/{account_id}/custom_metadata_labels/{id}": +"/accounts/{account_id}/custom_metadata/labels/{id}": get: "$ref": "./paths/custom_metadata_labels/show.yaml" "/accounts/{account_id}/invitations": diff --git a/paths/custom_metadata_labels/show.yaml b/paths/custom_metadata_labels/show.yaml index 14c81a7dd..0b1db0439 100644 --- a/paths/custom_metadata_labels/show.yaml +++ b/paths/custom_metadata_labels/show.yaml @@ -37,7 +37,7 @@ responses: x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/accounts/:account_id/custom_metadata_labels/:id?branch=my-feature-branch" \ + curl "https://api.phrase.com/v2/accounts/:account_id/custom_metadata/labels/:id?branch=my-feature-branch" \ -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |-