SequenceResource class
Bases: Resource
Single object resource
get: tags: - api summary: Get a sequence. description: | Return a single sequence by sequence_id. If the sequence does not exist, a 404 error is returned.
!!! Note
When the authorization feature is activated (available in the **Enterprise** edition only), this endpoint
requires _TAIPY_READER_ role.
Code example:
```shell
curl -X GET http://localhost:5000/api/v1/sequences/SEQUENCE_my_config_75750ed8-4e09-4e00-958d-e352ee426cc9
```
parameters: - in: path name: sequence_id schema: type: string description: The identifier of the sequence. responses: 200: content: application/json: schema: type: object properties: sequence: SequenceSchema 404: description: No sequence has the sequence_id identifier. delete: tags: - api summary: Delete a sequence. description: | Delete a sequence. If the sequence does not exist, a 404 error is returned.
!!! Note
When the authorization feature is activated (available in the **Enterprise** edition only), this endpoint
requires _TAIPY_EDITOR_ role.
Code example:
```shell
curl -X DELETE http://localhost:5000/api/v1/sequences/SEQUENCE_my_config_75750ed8-4e09-4e00-958d-e352ee426cc9
```
parameters: - in: path name: sequence_id schema: type: string description: The identifier of the sequence. responses: 200: content: application/json: schema: type: object properties: message: type: string description: Status message. 404: description: No sequence has the sequence_id identifier.