Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
self_data_technical_doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
self_data_technical_doc
Commits
a5bc3c5a
Commit
a5bc3c5a
authored
4 years ago
by
Yoan VALLET
Browse files
Options
Downloads
Patches
Plain Diff
add deletion of doctype
parent
cdf3910e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/easycozy/tips.md
+28
-2
28 additions, 2 deletions
docs/easycozy/tips.md
with
28 additions
and
2 deletions
docs/easycozy/tips.md
+
28
−
2
View file @
a5bc3c5a
...
...
@@ -7,7 +7,7 @@ All posibility are described in the [data section of Cozy documentation](https:/
**Example**
The example will describ how to query userChallenge data from
an
instance.
The example will describ how to query userChallenge data from
"ecolyotest"
instance.
First, you need to be able to connect to the instance in order to retrive the bearer and the cozysessid.

...
...
@@ -35,4 +35,30 @@ The result will then be retrieve by postman:
...
]
}
```
\ No newline at end of file
```
## Delete a doctype from a instance
You can use ACH to delete a doctype.
Please find the
[
ACH documentation
](
https://npm.io/package/cozy-ach
)
to see all commands
**Example**
The example will describ how to drop userChallenge doctype from "ecolyotest" instance.
the token provided is the one present in the cozysessid.
```
$ ach -t xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -u https://ecolyotest.cozy.self-data.alpha.grandlyon.com drop com.grandlyon.ecolyo.userchallenge
This doctypes will be removed.
* com.grandlyon.ecolyo.userchallenge
Type "yes" if ok.
yes
```
A browser window will be opened asking for authorization to access to your file.
Just click on "Authorize" to keep on with the doctype droping.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment