chore: removes stale action docs (#3166)

This commit is contained in:
Piyush Gupta
2024-09-23 10:13:13 +05:30
committed by GitHub
parent 9a98772210
commit 25774f6f08
@@ -79,7 +79,6 @@ Promise<{ id: string }, NetworkError | Error>
</CodeGroup>
</Col>
## Responses
- Create Response
@@ -152,29 +151,6 @@ Promise<{ }, NetworkError | Error]>
</CodeGroup>
</Col>
## Action
- Create Action:
<Note> An environment cannot have 2 actions with the same name. </Note>
<Col>
<CodeGroup title="Create Action">
```javascript {{ title: 'Create Action Method Call'}}
await api.client.action.create({
name: "<your-action-name>", // required
userId: "<your-user-id>", // required
});
```
```javascript {{ title: 'Create Action Method Return Type' }}
Promise<{ }, NetworkError | Error]>
```
</CodeGroup>
</Col>
## Attribute
- Update Attribute