func (p *PoliciesClient) Detach(ctx context.Context, attachmentID *identity.ID) error {
	req, _, err := p.client.NewRequest("DELETE", "/policy-attachments/"+attachmentID.String(), nil, nil, true)
	if err != nil {
		return err
	}
	_, err = p.client.Do(ctx, req, nil, nil, nil)
	if err != nil {
		return err
	}

	return nil
}
// Detach deletes a specific attachment
Detach deletes a specific attachment
// Detach deletes a specific attachment
func (p *PoliciesClient) Detach(ctx context.Context, attachmentID *identity.ID) error {
	req, _, err := p.client.NewRequest("DELETE", "/policy-attachments/"+attachmentID.String(), nil, nil, true)
	if err != nil {
		return err
	}
	_, err = p.client.Do(ctx, req, nil, nil, nil)
	if err != nil {
		return err
	}
	return nil
}
func ( p * PoliciesClient ) Detach ( ctx context . Context , attachmentID * identity . ID ) error { req , _ , err := p . client . NewRequest ( " " , " " + attachmentID . String ( ) , nil , nil , true ) if err != nil { return err } _ , err = p . client . Do ( ctx , req , nil , nil , nil ) if err != nil { return err } return nil }
Detach deletes a specific attachment
Detach deletes a specific attachment