[github.repo.delete]
github.repo.delete is a slot in the github namespace, in Hyperlambda, the language of Magic Cloud. Deletes a GitHub repository.
- Value (
github-repo-name), required: GitHub repository name - Returns: Returns true after the repository has been deleted
Arguments
Required arguments come first, then the optional ones in the order they are declared.
| Argument | Type | Required | Description |
|---|---|---|---|
[owner] |
string | no | Repository owner; omit to delete from the authenticated user. |
Guide: How to use [github.repo.delete]
JSON declaration
This is the complete declaration of github.repo.delete, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "github.repo.delete",
"description": "Deletes a GitHub repository",
"signature": {
"input": {
"kind": "github-repo-name",
"description": "GitHub repository name",
"required": true,
"mode": "ValueOrExpression"
},
"children": {
"owner": {
"type": "string",
"kind": "github-owner",
"description": "Repository owner; omit to delete from the authenticated user",
"required": false,
"mode": "ValueOrExpression",
"cardinality": "ZeroOrOne",
"role": "Option",
"projection": "Value"
}
},
"output": {
"mode": "Value",
"kind": "boolean",
"description": "Returns true after the repository has been deleted"
}
}
}
← github.repo.create |
all github.* slots |
github.repo.list → |